[jboss-user] [JBoss Portal] - Re: Getting user and group information from withing a portle

2007-03-22 Thread bvogt
The information provided by RenderRequest.getRemoteUser is unique too, so if 
you just intend to identify related data, why not using this? Of course, it's 
not a number but this shouldn't matter.

Burkhard

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

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


[jboss-user] [JBoss Seam] - Re: pageflow annotation and pages.xml

2007-03-22 Thread [EMAIL PROTECTED]
Dunno, looks very strange. Use your debugger to figure out why the pageflow 
does not begin in ConversationInterceptor..

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

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


[jboss-user] [JBoss Seam] - Re: Exceptions on Seam CVS20070322

2007-03-22 Thread [EMAIL PROTECTED]
Oh, I'm sorry, that's NoSuchMethodError, of course.

The cause of this one is an incompatibility b/w Seam 1.2 and icefaces. It's our 
fault, I actually had been warned that icefaces is using that method of our 
internal APIs and there is a comment in the code.

However, we broke it by this commit:

http://fisheye.jboss.com/browse/JBoss/jboss-seam/src/main/org/jboss/seam/core/Manager.java?r1=1.155&r2=1.156

So either Seam needs to provide a backward compatible overloaded version of the 
method, or icefaces needs to be updated. It's probably better if we update 
icefaces, since otherwise some new functionality won't work. 

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

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


[jboss-user] [JBoss Seam] - Re: Exceptions on Seam CVS20070322

2007-03-22 Thread [EMAIL PROTECTED]
java.lang.NoSuchMethodException always means that you have incompatible jars 
floating around. Probably two copies of jboss-seam.jar.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - java.lang.IllegalArgumentException: Invalid property name 'd

2007-03-22 Thread jagdish.nasit
Hi,

We have a small application developed with struts. Its working fine locally in 
my machine. But when I deploy in test/development server i am getting error

2007-03-22 20:30:21,906 ERROR [org.apache.struts.util.RequestUtils] Error 
creating form bean of class org.apache.struts.validator.DynaValidatorForm
java.lang.IllegalArgumentException: Invalid property name 'dob'
at 
org.apache.struts.action.DynaActionForm.getDynaProperty(DynaActionForm.java:598)
at org.apache.struts.action.DynaActionForm.set(DynaActionForm.java:412)
at 
org.apache.struts.action.DynaActionForm.initialize(DynaActionForm.java:142)
at 
org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:822)
at 
org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:364)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:253)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 

Both the JBOSS versions are same.

Please help, if anybody already faced this problem !!!

Thanks in advance.

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

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


[jboss-user] [JBoss Seam] - Re: use Seam to respond with bytes (not XML) ?

2007-03-22 Thread baz
I have done it like in this post: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103039
But the wiki page is quite pretty. So i will give it a try.
Peter, any chance that we get the Resource class into seam?

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

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


[jboss-user] [JBoss Seam] - Re: configurable Skinning with Richfaces

2007-03-22 Thread baz
i tke it back. Where to fast.
Will investigate thre wiki example.
But i am interestetd why the mentioned error occurs

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

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


[jboss-user] [JBoss Seam] - Re: configurable Skinning with Richfaces

2007-03-22 Thread baz
Which wiki example do you mean?
The seam one does not use richfaces and i have to skin richfaces components. 
Hence i have to set the parameter.

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

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


[jboss-user] [JBoss Portal] - JBoss portal deployment in a load balanced environment

2007-03-22 Thread jyotir
Hi

 The scenario we have is that JBOss portal runs of two web servers which are 
load balanced. The problem happens if a user session is active on one of the 
server it changes  file now this is not reflected in the other server.

We have used rsync to replicate the file contents between the servers at server 
level so physical files are replicated but the version onformation on both the 
servers mismatch 

So what we want to know is what is the recommended JBOss portal deployment 
configuration in a load balanced environment so content in both servers are in 
sync.

Thanks in advance for any guidelines and suggestions

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

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


[jboss-user] [JBossWS] - Re: dynamic clients for JBossWS/JAX-WS endpoints

2007-03-22 Thread mreis
Hi,


isn't @WebServiceProvider something that acts on the server side, that receives 
SOAP (or XML/HTTP in the case of RESTful services) messages, does something 
with the incoming message (and probably returns a result as a SOAP or XML/HTTP 
message)?

I thought that I wouldn't have to bother about the server side implementation 
of the WebService (it may be @WebService or @WebServiceProvider or something 
else) on the client side (that should only interface with the WSDL 
ServiceContract and not necessarily know anything about the server side expect 
from that) - Please correct me if that assumption is NOT correct!

So I think I will have to do something with Dispatch 
(https://jax-ws.dev.java.net/jax-ws-ea3/docs/dispatch.html) rather than 
Provider, but it is not clear to me if/how I can avoid writing JavaObjects for 
my custom complex data types.

Any further help/guidance is very much appreciated.

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

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


[jboss-user] [JBossWS] - Re: ClassCastException - jaxws webservice in jboss1.2.0

2007-03-22 Thread santhoshitha
buddy, 
thanks a lot. i dint quite figure what the exception was though. the classpath 
contained some proprietary jars needed for my custom class, which i later moved 
into the war.
my service is deployed successfully now.

thanks again,
San

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

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


[jboss-user] [JBoss Messaging] - Jboss Messaging - Warning Message on Transaction isolation d

2007-03-22 Thread Craig2007
Hi Everybody

I am using JBoss4.0.4.GA and JBoss Messaging (jboss-messaging-1.0.1.GA) and 
MySql (mysql-5.0.22-win32) .I did all the modification that needs to be there 
for proper working JBoss Messaging Server with Jboss AS.

When i start my application server with the option 
run -c messaging

I get the following warning ...Just warning only 

JBoss Messaging Warning: DataSource connection transaction isolation should be 
READ_COMMITTED, but it is currently REPEATABLE_READ.
 Using an isolation level less strict than 
READ_COMMITTED may lead to data consistency problems.
 Using an isolation level more strict than 
READ_COMMITTED may lead to deadlock.


Can anybody tell me in which config file, i should do the modification to make 
the transaction isolation to be "READ_COMMITED"

I would appreciate if you could able to provide me a way to change this 
configuration.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - import org.jboss.mq.server.jmx.Queue

2007-03-22 Thread milind.uc
I want to monitor the queue I have the application server of  Jboss 4.0.0 + 
versions  and I want to show the status of queue that is how many transactions 
are pending , how many scheduled, how many recived by reciver . I know it is 
possible by the JMX  getDepth()  but I am not abl to used it as I am not that 
much familliar with jbossMQ and JMX APIS...


Again there is BasicQueue class,BasicQueueParameter class , MesaageCounter 
class but I am not understanding how to used it as  the constructor of the  
above classes  contains 4 to 6 paramters all these are frustrating one..

So  please suggest me the soloution ..And also suggest me any Book name  or 
diffrent links  where there is some sample examples and good discriptions  of 
how to used it

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

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


[jboss-user] [JCA/JBoss] - Re: casting exception in datasource lookup

2007-03-22 Thread arijit_2404
thank you. that solved the problem.

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

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


[jboss-user] [JBoss Seam] - seam-gen error

2007-03-22 Thread javalover75
Running seam-gen generate-entities command (just built from CVS) I am 
experiencing the error below.  After searching the form and Jira a similiar 
error has appeared and it was suggested by Gavin that old jars are somewhere.  
I have verified this is not the case.  If I can provide any additional 
information to assist please let me know.  Any help would be greatly 
appreciated.  


  | C:\eclipse\workspace\jboss-seam>seam generate-entities
  | Buildfile: C:\eclipse\workspace\jboss-seam\seam-gen\build.xml
  | 
  | validate-workspace:
  | 
  | validate-project:
  | 
  | generate-entities:
  | [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse 
engineering)
  | [hibernate] 1. task: hbm2java (Generates a set of .java files)
  | [hibernate] Mar 22, 2007 9:36:59 PM org.hibernate.cfg.Environment 
  | [hibernate] INFO: Hibernate 3.2.0.cr5
  | [hibernate] Mar 22, 2007 9:36:59 PM org.hibernate.cfg.Environment 
  | [hibernate] INFO: hibernate.properties not found
  | [hibernate] Mar 22, 2007 9:36:59 PM org.hibernate.cfg.Environment 
buildBytecodeProvider
  | [hibernate] INFO: Bytecode provider name : cglib
  | [hibernate] Mar 22, 2007 9:36:59 PM org.hibernate.cfg.Environment 
  | [hibernate] INFO: using JDK 1.4 java.sql.Timestamp handling
  | [hibernate] Mar 22, 2007 9:37:00 PM 
org.hibernate.connection.DriverManagerConnectionProvider configure
  | [hibernate] INFO: Using Hibernate built-in connection pool (not for 
production use!)
  | [hibernate] Mar 22, 2007 9:37:00 PM 
org.hibernate.connection.DriverManagerConnectionProvider configure
  | [hibernate] INFO: Hibernate connection pool size: 20
  | [hibernate] Mar 22, 2007 9:37:00 PM 
org.hibernate.connection.DriverManagerConnectionProvider configure
  | [hibernate] INFO: autocommit mode: false
  | [hibernate] Mar 22, 2007 9:37:00 PM 
org.hibernate.connection.DriverManagerConnectionProvider configure
  | [hibernate] INFO: using driver: com.mysql.jdbc.Driver at URL: 
jdbc:mysql:///adtutor
  | [hibernate] Mar 22, 2007 9:37:00 PM 
org.hibernate.connection.DriverManagerConnectionProvider configure
  | [hibernate] INFO: connection properties: {user=adtutorapp, password=}
  | [hibernate] Mar 22, 2007 9:37:01 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: RDBMS: MySQL, version: 5.0.27-community-nt
  | [hibernate] Mar 22, 2007 9:37:01 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: JDBC driver: MySQL-AB JDBC Driver, version: 
mysql-connector-java-3.1.10 ( $Date: 2005/05/19 15:52:23 $, $Revision: 1.1.2.2 
$ )
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.dialect.Dialect 
  | [hibernate] INFO: Using dialect: org.hibernate.dialect.MySQLDialect
  | [hibernate] Mar 22, 2007 9:37:02 PM 
org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
  | [hibernate] INFO: Using default transaction strategy (direct JDBC 
transactions)
  | [hibernate] Mar 22, 2007 9:37:02 PM 
org.hibernate.transaction.TransactionManagerLookupFactory 
getTransactionManagerLookup
  | [hibernate] INFO: No TransactionManagerLookup configured (in JTA 
environment, use of read-write or transactional second-level cache is not 
recommended)
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: Automatic flush during beforeCompletion(): disabled
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: Automatic session close at end of transaction: disabled
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: JDBC batch size: 15
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: JDBC batch updates for versioned data: disabled
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: Scrollable result sets: enabled
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: JDBC3 getGeneratedKeys(): enabled
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: Connection release mode: auto
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: Maximum outer join fetch depth: 2
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: Default batch fetch size: 1
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: Generate SQL with comments: disabled
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
buildSettings
  | [hibernate] INFO: Order SQL updates by primary key: disabled
  | [hibernate] Mar 22, 2007 9:37:02 PM org.hibernate.cfg.SettingsFactory 
createQueryTranslatorFactory
  | [hibernate] INFO: Query translator: 
org.hibernate.hql.as

[jboss-user] [Remoting] - Re: Concurrent invoke calls

2007-03-22 Thread [EMAIL PROTECTED]
The intention is that Remoting is thread safe from the call to Client.invoke() 
through the return of a response.  In the middle, though, is a call to the 
ServerInvocationHandler, where thread safety is the responsibility of the 
application.

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

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


[jboss-user] [Clustering/JBoss] - Problem with Topics and Clustering.

2007-03-22 Thread AUTOMATON
Hi All,
I have 2 PCs running in a cluster successfully. However, one of my web apps 
needs its own topics/queues. All topics/queues that I have made entries for are 
successfully bound to their jndi names, but only if ONE of the JBoss instances 
is started in the cluster. If I try to start JBoss on the other maching, I get 
the following error on that machine:-

In short my topics/queues are started on only one of the machines!!

I dont know what am I doing wrong 

--- MBeans waiting for other MBeans ---
ObjectName: 
jboss.mq.destination:name=com.csam.enabling.mailer.MailerQueue,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: 
jboss.mq.destination:name=com.csam.enabling.mailer.MailerQueueTest,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: 
jboss.mq.destination:name=com.csam.wsc.enabling.sms.PushQueue,service=Topic
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: 
jboss.mq.destination:name=com.csam.wsc.enabling.sms.CommandTopic,service=Topic
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: 
jboss.mq.destination:name=com.csam.wsc.enabling.sync.SyncInwardTopic,service=Topic
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: 
jboss.mq.destination:name=com.csam.wsc.enabling.sync.SyncOutwardQueue,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: 
jboss.mq.destination:name=com.csam.wsc.enabling.transaction.ReceiptTopic,service=Topic
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: 
jboss.mq.destination:name=com.csam.wsc.enabling.service.ServiceInwardTopic,service=Topic
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: 
jboss.mq.destination:name=com.csam.wsc.notification.ChannelEventQueue,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

ObjectName: 
jboss.mq.destination:name=com.csam.wsc.notification.NDRQueue,service=Queue
  State: CONFIGURED
  I Depend On:
jboss.mq:service=DestinationManager

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.mq:service=DestinationManager
  State: NOTYETINSTALLED
  Depends On Me:
jboss.mq.destination:name=com.csam.enabling.mailer.MailerQueue,service=Queue

jboss.mq.destination:name=com.csam.enabling.mailer.MailerQueueTest,service=Queue
jboss.mq.destination:name=com.csam.wsc.enabling.sms.PushQueue,service=Topic

jboss.mq.destination:name=com.csam.wsc.enabling.sms.CommandTopic,service=Topic

jboss.mq.destination:name=com.csam.wsc.enabling.sync.SyncInwardTopic,service=Topic

jboss.mq.destination:name=com.csam.wsc.enabling.sync.SyncOutwardQueue,service=Queue

jboss.mq.destination:name=com.csam.wsc.enabling.transaction.ReceiptTopic,service=Topic

jboss.mq.destination:name=com.csam.wsc.enabling.service.ServiceInwardTopic,service=Topic

jboss.mq.destination:name=com.csam.wsc.notification.ChannelEventQueue,service=Queue
jboss.mq.destination:name=com.csam.wsc.notification.NDRQueue,service=Queue

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

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


[jboss-user] [JBoss Seam] - Re: pageflow annotation and pages.xml

2007-03-22 Thread awheeler
The seam documentation states in section 7.2.2:

anonymous wrote : 
  | If we are beginning the pageflow during the RENDER_RESPONSE  phase?during a 
@Factory or @Create  method, for example?we consider ourselves to be already at 
the page being rendered, and use a  node as the first node in the 
pageflow, as in the example above.
  | 

I have annotated the @Create method which is called during the RENDER_RESPONSE 
phase. Is the documentation correct?

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

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


[jboss-user] [Management, JMX/JBoss] - Run a task the 1st of the month?

2007-03-22 Thread SmokingAPipe
Is there any way to do this within JBoss, ie, to have a task that runs on some 
specific day of the month?  I can see in the scheduler documentation 
(http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch10.html#ch10.sched) that I 
could have it call a method every 24 hours, for example, so an easy hack would 
be to have an object that gets called every day, and it checks which day of the 
month it is, and if it's the correct day, do its thing, or return otherwise.  
But that seems like a hack and if it somehow runs twice in a month that would 
be bad.  Surely in a system as advanced as JBoss there's a way to do this?


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

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


[jboss-user] [JBoss Seam] - Exceptions on Seam CVS20070322

2007-03-22 Thread gus888
Hi there,

When I moved to Seam Seam CVS20070315 and Seam CVS20070322 from Seam 
CVS20070305, I always got the following "NoSuchMethodException" 
exception:2007-03-22 22:14:13,609 ERROR [com.icesoft.util.SeamUtilities] 
Exception loading seam environment: 
  | java.lang.NoSuchMethodException: 
org.jboss.seam.core.Manager.encodeConversationId(java.lang.String)
  | at java.lang.Class.getMethod(Class.java:1581)
  | at 
com.icesoft.util.SeamUtilities.loadSeamEnvironment(SeamUtilities.java:250)
  | at com.icesoft.util.SeamUtilities.(SeamUtilities.java:49)
  | at 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.checkSeamRequestParameters(PersistentFacesServlet.java:483)
  | at 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:326)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:53)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)

In addition, I also got the LazyInitializationException: 
org.hibernate.LazyInitializationException: could not initialize proxy
The strange thing is that there was no the exception on CVS20070305. I use  

Any help is appreciative.

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

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


[jboss-user] [JBoss Portal] - NavigationPortlet Injection in JBoss Portal 2.6

2007-03-22 Thread apemberton
In JBoss Portal 2.4, the NavigationPortlet instance was added manually to each 
portal page. 

Has this changed for Portal 2.6? I don't see the NavigationPortlet instance in 
the page layout interface. It appears as though the navigation portlet is 
injected into the entire portal, but I am unable to find how/where this is 
occurring. 

As a follow up, does anyone know if there are plans to implement a tag-library 
that would allow developers to create navigation structures in layout JSPs, 
rather than using the NavigationPortlet?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: pageflow annotation and pages.xml

2007-03-22 Thread [EMAIL PROTECTED]
Use , not .

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

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


[jboss-user] [Security & JAAS/JBoss] - Autologin Form Based Authentication with Cookie

2007-03-22 Thread srockny05
Has anybody been able to get an autologin feature to work? This seems on the 
surface such a simple issue, but cannot find the answer anywhere.

I have FORM based authentication configured with a login page. There are a few 
problems when I try to auto login with a cookie. 

First, I can only supply a j_username and j_password field in my form that 
posts to j_security_check. If I include any other fields (like a checkbox for 
autologin [remember me]) it gets lost.

Secondly if I set the autologin cookie someplace else and when the user wanders 
back to the site I want to autologin them in. I can create a LoginContext and 
log them in and get a Principal object and all that but Tomcat still thinks the 
user isn't authenicated when they go to a protected page because I didn't go 
through their authenicator.

What is the correct way of doing this? I was thinking of using javascript to 
submit the login form automatically when the cookie is present.


Thanks for any help! 

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

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


[jboss-user] [JBoss jBPM] - Re: Which tag version at CVS server does match the release j

2007-03-22 Thread lifesting
Thanks the two pretty guys above, I have downloaded the whole project with tag 
3.2 and built it using Ant successfully.  Debugging is delicious!

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

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


[jboss-user] [Remoting] - Re: Cannot connect to socket on Fedora Core 6

2007-03-22 Thread [EMAIL PROTECTED]
Hi Rob,

Maybe we need 2n + 4 eyes, n > 0, cause I don't see a problem either.

CannotConnectException wraps the root cause, which you could retrieve with 
getCause().  You want to try that and let us know what it says?  Maybe print 
the stack trace, also.  Just a thought.  Thanks.



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

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


[jboss-user] [Remoting] - Re: Not able to subscribe to a temporary topic

2007-03-22 Thread [EMAIL PROTECTED]
I think you'd get better results posting this question to the Seam users forum. 
 

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

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


[jboss-user] [Remoting] - Re: Error during remote request

2007-03-22 Thread [EMAIL PROTECTED]
It looks like a Seam problem, doesn't it?  Speaking purely for myself, I don't 
know enough about Seam to comment.  But you might want to post the question in 
the Seam users forum.

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

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


[jboss-user] [JBoss Seam] - Re: use Seam to respond with bytes (not XML) ?

2007-03-22 Thread [EMAIL PROTECTED]
Are you sure that page is current?  What is in CVS now doesn't work anything 
like that.  Am I missing something?

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

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


[jboss-user] [JBoss jBPM] - Exception when completing a task in websale example

2007-03-22 Thread khamburg
I downloaded jbpm-jpdl-3.2.GA and installed the jbmp-console.war on Tomcat. I 
deployed the websale example process. I was able to log in to the console, 
initiate a new process instance, and move it through states until I got to 
"evaluate web order". When I clicked OK to advance to the fork node, I got an 
exception:

anonymous wrote : java.lang.NoSuchFieldError: FORCE
  | org.jbpm.graph.node.Join.execute(Join.java:105)

Can anyone shed any light on this? Should I submit a bug on JIRA for this?

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

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


[jboss-user] [JBoss Seam] - How to show both image and text on a button?

2007-03-22 Thread anarinsky
I need to create a button that shows both text and image.  I found that if I 
use s:button then after image specification the text does not show up.

For a particular button based on id I can write a stylesheet similar to 
(http://www.jboss.com/index.html?module=bb&op=viewtopic&t=100199).

However, can I specify a class for all buttons and then use this class changing 
only the image url and text?


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

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


[jboss-user] [JBoss Seam] - pageflow annotation and pages.xml

2007-03-22 Thread awheeler
I am using seam 1.20. I have a problem starting a pageflow:

If I use the pageflow property of the @Begin annotation the pageflow will not 
start and subsequently will not move from the first page. e.g:


  | Pageflow
  | 
  |
  |   
  |
  | 
  | 
  | @Create  
@Begin(flushMode=FlushModeType.MANUAL,pageflow="linkCorrespondence")
  | public void create() {
  | }

However the following code does work when using the depreciated function:

  | @Create @Begin(flushMode=FlushModeType.MANUAL,pageflow="linkCorrespondence")
  | public void create() {
  | Conversation.instance().beginPageflow("linkCorrespondence");
  | }
  | 

The pageflow does work if I use  element in the pages.xml:


  | 
  | 
  | Link new correspondence
  | 
  | 

However the conversation must specify join="true". If it does not and the page 
refreshes or submits then a new conversation is started which produces an 
error. I also notice that if the conversation is started using 
 that the conversation description is not shown in the 
conversationList or on the debug.seam page. Is this a consequence of specifying 
join=true?


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

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


[jboss-user] [JBoss Seam] - Re: Please, help to find optimal strategy for multiple itera

2007-03-22 Thread anarinsky
Thanks.  Is it better (less complicated)  than adding an additional @Transient 
method returning the List to the entity bean? 

I still need to sort the collection ? how can I do this with this approach? 
Still, is it better to use a session bean or work only with entity beans?


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

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


[jboss-user] [Remoting] - Re: Connection Problem with Release 2.2.0

2007-03-22 Thread [EMAIL PROTECTED]
Hi Claudia,

This feels like a bug, though I'm not sure what the problem is.  One thing I 
see is that the IOException catch clause in MultiplexServerInvoker.run() shuts 
down the thread if it gets a "socket closed" message.  The point is to quit if 
the *server socket* has closed, but it looks like the same exception could be 
thrown by the newly accepted socket.  I'm going to have to look at this more 
closely.  Could you send me your code so I can try to duplicate the problem?

Thanks.  (I haven't forgotten that you've already sent me something to look at, 
by the way.)

-Ron

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

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


[jboss-user] [JBoss jBPM] - Re: Which tag version at CVS server does match the release j

2007-03-22 Thread zipwow
To answer my own question:

run the ant get.dependencies, then point jbpm_repo at the resutling 
${user.home}/jbpm/repository directory.

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

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


[jboss-user] [JBoss Seam] - Re: Please, help to find optimal strategy for multiple itera

2007-03-22 Thread petemuir
Use this to create a list backed with the set 
http://jroller.com/page/pmuir?entry=using_sets_in_jsf

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

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


[jboss-user] [JBoss Seam] - Re: use Seam to respond with bytes (not XML) ?

2007-03-22 Thread petemuir
Take a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamResourceLoader for 
how to do this from an action method.

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

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


[jboss-user] [JBoss Seam] - Please, help to find optimal strategy for multiple iteration

2007-03-22 Thread anarinsky
For the sake of simplicity my database contains 2 tables ? containers and 
fruits.  I need to show a report that contains a list of fruits for every 
container

So, on my report page I have to iterate through the list of containers and for 
every container show the list of fruits 

I generated the entities using seam-gen and received the following objects:
Container
ContainerList
ContainerHome

Fruit
FruitList
FruitHome 


In the Container object I have the method that retrieves the set of fruits.  
However, due to the specifics of JSF I cannot iterate through the set on the 
page ? I can iterate only through the list.  Also, the ContainerHome object has 
a method that retrieves the list of fruits for a particular container.

Please, let me know what it the best strategy?

I think that I have several options. First, I can add  @Transient method in the 
Container object that retrieves the list of fruits.  What is better ? to use 
the existent Set method and transfer Set to List or to write another query?

Second, I can somehow for every Container use the List method specified in the 
ContainerHome object.  However, I do not know how to get the reference to the 
ContainerHome object for a particular Id on a JSF.

Should I create a new Session Bean for this task or I can use only Entity beans 
originally generated by seam-gen?

Thank you very much for a feedback



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

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


[jboss-user] [JCA/JBoss] - Re: Jboss 4.2.0CR1 -

2007-03-22 Thread [EMAIL PROTECTED]
This issue is caused by multiple LRCO resources being enlisted in the 
transaction.  This is explicitly forbidden in the current TS codebase as it is 
transactionally unsound.

More information on 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030881#4030881

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

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


[jboss-user] [JCA/JBoss] - Datasource failover, sudden disconnection not working

2007-03-22 Thread sebastianlacuesta
I have a problem using datasource failover with MySQL. My setup is JBoss at 
host A, and mysql in host B, replicated in host A. I have followed the 
instructions in JBossJCADatabaseFailover.
When I stop mysql at machine B with /etc/init.d/mysql stopfailover works 
flawlessly, but if I disconnect B's network cable, the application just keeps 
waiting for the query, and no failover is done. The datasource configuration is:






com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker



select sysdate() from 
dual



   mySQL

  



The hosts are:

A: 192.168.10.210
B: 192.168.10.219

I could keep playing with blocking-timeout-millis, but I prefer to ask before 
continue. My question is: What should I have to consider in order to solve 
this? I mean, get failover working when a database stop working suddenly, not 
by stopping it cleanly.
Thanks.

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

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


[jboss-user] [Microcontainer] - Re: ServiceMBeanSupport in the Microcontainer world

2007-03-22 Thread genman
Having referred to the examples, there doesn't seem to be a very 
straightforward way to install MBeans, ala Spring's framework, which isn't very 
easy to read.


  | 
  | 
  | 
  |
  |   
  |
  | 
  |
  | 
  |
  |   
  |
  | 
  |
  |   
  |
  | 
  |
  |   @org.jboss.aop.microcontainer.aspects.jmx.JMX(name="", 
exposedInterface=org.jboss.test.microcontainer.support.SimpleBean.class)
  |
  | 
  | 
  | 

The problem with this XML is it has quite a lot of low-level "commands" which 
are somewhat a separate concern from the bean deployment.

I want to make my deployment file easier to edit and read, perhaps more modular 
... Is there a notion of   in the bean deployer?

I have SVN access, would you support this sort of feature?


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

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


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

2007-03-22 Thread petemuir
Mike, that sounds unrelated to this problem (this was due to Hibernate lazy 
association proxies).  If it's a Seam proxy, you can call 
org.jboss.seam.util.Proxy.deproxy(clazz) to get it's original class.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Message Cache configuration problem

2007-03-22 Thread vitor_b
Hello

Thank you very much for your replies.

I need only a small confirmation. That all means that:

1. Non persisted messages are stored in the same persistent storage like 
messages marked as persistent, when cache manager is out of memory
2. Messages marked as persistent can be both: in memory (cache) and persistent 
storage at the same time
3. When lack of electricity happens all non persistent messages from memory 
will be lost (stored non persistent ones will survive).

Short answers like yes/no would be enought.

Best regards

vitor_b

P.S. hard to be a beginner

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

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


[jboss-user] [JBoss Portal] - Re: portal cms and oracle db error

2007-03-22 Thread [EMAIL PROTECTED]
Davide-

This issue has been resolved. 

See this task for details:http://jira.jboss.com/jira/browse/JBPORTAL-983

What version of JBoss Portal are you running.

Its been fixed in 2.6Beta1 and 2.4.2 final.


Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: Which tag version at CVS server does match the release j

2007-03-22 Thread zipwow
Related question:

The anoncvs jbpm.3 head references a classpath variable JBPM_REPO.  Is there a 
separate project that I should check out that has these libraries?

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

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


[jboss-user] [JBossCache] - Re: JDBCCacheLoader config

2007-03-22 Thread rocken7
Ok it does actually start filling in the Node values after a while ... 

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

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


[jboss-user] [JBossCache] - Re: JDBCCacheLoader config

2007-03-22 Thread rocken7
And why do I get tons of these statements?

16:11:38,291 INFO  [OptimisticNodeInterceptor] Cannot Handle Method 
_put(GlobalTransaction::329, 
/com/foo/ads/model/ChannelBean/com.foo.ads.model.ChannelBean#1589, item, 
CacheEntry(com.foo.ads.model.ChannelBean)[1589,Foo Fusic,2007-02-18 
15:35:47.0,481507,NovaSe7en,http://images.foo.com/images/thumbnails/medium/users/481507/c033282f6da0c4118c74da34af90af49.png,1589],
 true, 0)
  | 

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

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


[jboss-user] [JBoss Seam] - Re: IceFaces TabPane

2007-03-22 Thread [EMAIL PROTECTED]
You might try asking in the icefaces Seam forums. They are quite helpful.

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

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


[jboss-user] [JBoss Portal] - Re: Securing Portlet Modes

2007-03-22 Thread Antoine_h
By rendering class, it means :
the class that is in charge of the rendering, like divRendering.

you may also look at the LayoutStragegy (I think this is the exact name of the 
class).
in 2.4.1 PS1 there is this added feature : 
* [JBPORTAL-823] - Access to Portlet Action Request in LayoutStragegy
  | 
see : 
http://sourceforge.net/project/shownotes.php?release_id=471406&group_id=22866
then, you have the portlet mode and the principal, to apply your policy.

You can find the descriptor about using thoses class there :
\deploy\jboss-portal.sar\portal-core.war\WEB-INF\layout

A good way to do all this about layout :
 - copy all the layout things (see doc) in your own MyPortalLayout.war project
 - modify things (overidding class, build your own class, modifying the 
descriptor for your own layout
 - package the war and deploy it appart
 - in your portal descriptor, set your portal to this layout
 - this way, you have a war responsible for layout. And only this. Clean.

This way, it is your own layout, and you can work on it, and redeploy (hot 
deploy) many times... without modifying jboss portal things, without 
redeploying all the portal core.

after, you can comment things in the jboss portal delivered layout, to avoid  
to have them loaded in the system for nothing (as you don't use anymore these 
layout).

The minimum : modify the edit method write a message saying the user can't 
do that.
and yes, you will have to...
If you use some portlet written by other (forum ?, CMSPortlet) then, it is 
open source : overide the class, or rewrite things...

it is difficult for me to tell more : I can tell "this here where to look 
at"... but I don't know by heart how to do it.

For tuning things, and makes several try and see : consider also sometime to 
empty the portal object tables in the database (server shutdowned before).
I have put a post with the sql script for this.
do that if things don't go the way you expect : sometime, it is good to restart 
the portal and make sure the database has not "old descriptions things in it".

Yes, it is not quick. But if you really want this feature.
and it is not big deal neither. 

I have started with this too... good way to start and enter into customizing 
and build a portal.

as you want these kind of special feature : it is good to see how the layout 
works "inside". interesting things... and good to be aware of what is going 
on...

and again : not difficult... it just takes a little time. 
I would say one or two days, may be four it you take time to wander around to 
understand all the layout process.


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

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


[jboss-user] [JBoss Portal] - Re: Getting user and group information from withing a portle

2007-03-22 Thread kreilly
Hi Peter,

Thanks for the reply. 

Unfortunately, RenderRequest.getRemoteUser and RenderRequest.getUserPrinciple 
wont do the job.  I need the user's ID so I can look up information tied to 
that user (such as orders).

I'm comfortable using JBossPortlet, but I was hoping there was a better way 
that would not cause me to access the JBoss specific classes.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to map a java double type in hibernate to oracle NUMBER?

2007-03-22 Thread yangju
Sorry I have to repost this question as I forgot to include a title for the 
previous one.

I have struggled for days getting a java.lang.Double filed mapped to oracle 
NUMBER type with precision 4 and scale 1.
I tried this:



and




and



And over two dozen combinations.
None worked.

Does this validation have anything to do with jdbc driver?
My dialect is Oracle9Dialect.
We use jboss 4.0.3SP1 (hibernate jars come with this jboss release).

This is what I got:

org.hibernate.HibernateException: Wrong column type: ValidityAdjacentPercent, 
expected: NUMBER(4,1)
at org.hibernate.mapping.Table.validateColumns(Table.java:205)
at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:956)
at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:116)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:299)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1145)
at 
com.pearson.resource.adapter.jmx.jboss.hibernate.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:220)
at 
com.pearson.resource.adapter.jmx.jboss.hibernate.HibernateSessionFactory.startService(HibernateSessionFactory.java:100)
at 
com.pearson.epen.service.SessionFactoryDeployer.addSessionFactoryForDatasource(SessionFactoryDeployer.java:91)
at 
com.pearson.epen.service.DataSourceListener$DeployerThread.deploySessionFactory(DataSourceListener.java:416)
at 
com.pearson.epen.service.DataSourceListener$DeployerThread.run(DataSourceListener.java:393)


I even tried big_decimal. It does not work either.
The same mapping works for sql-server where we have decimal in the database as 
a type.

Please help. I don't see any example. 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate mapping of java double type to oracle NUMBER

2007-03-22 Thread yangju
Sorry forgot to type the subject

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

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


[jboss-user] [JBoss Seam] - Re: use Seam to respond with bytes (not XML) ?

2007-03-22 Thread [EMAIL PROTECTED]
Unfortunately, facelets doesn't allow returning binary data.  Everything in 
Seam that returns binary data uses either a servlet or a phase listener to 
return the results.  This is definitely something I'd like to see fixed in 
facelets so that we can do this.

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

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


[jboss-user] [JBossWS] - Re: charset encoding problem with the jsr181pojo sample : ec

2007-03-22 Thread centecbertl

I did a "hot fix" to add the system property  


  |   "file.encoding=UTF-8" 
  | 

to the jvm running JBossWS, thus changing the default file !? encoding
of the complete jboss installation. Afterwards UTF-8 handling worked 
as expected (before that jbossws 1.2 used the default file encoding of 
the installation (was iso latin 1 on my machine)

Has anyone found the correct way to configure the file encoding of
jbossws 1.2?

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

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


[jboss-user] [Installation, Configuration & Deployment] - JBOSS and CASTOR

2007-03-22 Thread praveenjani
Hi All,
 
I have question about using castor with JBoss. Plese forgive me this is not the 
correct forum.
 
I recently upgraded from Castor 0.9.x to Castor 1.0.5. 
 
We are using JBoss 3.x right now that comes bundled with SNMP adapter. Now this 
adapter is using OLD (0.9.x) castor and therefore spoiling the show at runtime. 
 
Does anyone of you experienced this issue and found a way around it? 
 
I replaced the  castor.jar in SNMP adapter with new castor-1.0.5.jar and it 
seems to be deploying it successfully. But since we dont use SNMP as of yet, I 
am not sure if replacing this JAR would cause any issues if we decide to use 
SNMP in future. 
 
I would appreciate your help and suggestions.
 
Thanks,
-Praveen

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

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


[jboss-user] [JBoss jBPM] - Re: deployment in JBoss

2007-03-22 Thread perrylucas
Continual Improvement is one of the main benefits you achieve by having a BPM, 
right?  So, I'd say that the deployment and redeployment of process definitions 
should be encouraged in production, not just during development!

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

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


[jboss-user] [JBoss jBPM] - Scheduled TaskInstances within a ProcessInstance?

2007-03-22 Thread perrylucas
Our company is considering JBPM as a replacement for our current workflow 
management software (built in-house), but it seems to be missing a vital piece! 
 Here's the scenario:

We need to assign several stateful properties, including Estimated Man Hours, 
Actual Man Hours, Due Date, etc to our Tasks/TaskInstances so that we can plan 
employees' workloads over the lifetime of a ProcessInstance.  Upon creation of 
a ProcessInstance, however, only the first TaskInstance is available as only it 
is active...  This obviously makes it impossible to do any kind of planning!

I have searched on the forum and have found many related topics but nothing 
that really hit home here, so before telling my boss that JBPM simply doesn't 
meet the requirements here, I'd like to know if anyone else has had the need 
and found a way to do this.

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

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


[jboss-user] [JBossWS] - Re: ClassCastException - jaxws webservice in jboss1.2.0

2007-03-22 Thread centecbertl
Some steps I't try to make:

  1. check that you are running jboss with jdk 1.5 (sun)
  2. check that your system classpath is empty when starting jboss
  (make sure that no non jboss jabxb, jaxws, classes are found
  3. check that the endorsed dirs in jdk are not ... see 2.
  4. check whether jboss runs the jbossws samples
  5. when 1...4 are running check your custom class wheter it
  fullfills all jaxb requirements (probably replace it by somthhing simplier

Hope this helps


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

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


[jboss-user] [JBoss jBPM] - Enable / Disable specific log entry types ?

2007-03-22 Thread michaelholtzman
Greetings. Is it possible to control which log types are actually written to 
the log table? For example, can I turn off "variable update" log entries and 
keep all the other log entry types ??

Thanx.

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

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


[jboss-user] [JBoss Seam] - Re: Using convertEntity and still getting

2007-03-22 Thread ector7280
One more thing.  The version I checked out from cvs does not contain a 
convertEntity tag.

Is the path in the wiki correct?

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-seam

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

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


[jboss-user] [JBossCache] - Re: problem when attribute UseReplQueue is true...

2007-03-22 Thread [EMAIL PROTECTED]
This could be related to http://jira.jboss.com/jira/browse/JBCACHE-1012.  
Perhaps in earlier releases that led to an NPE?

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

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


[jboss-user] [JBoss Seam] - Re: IceFaces new dev build is out & example seam app.

2007-03-22 Thread [EMAIL PROTECTED]
The slighly bad news is that it's not reccomneded yet to run on 1.2 as 
something chnaged in Seam for the 1.2 fix.

They hope to have this fixed for the 1.6 Final (due ???)


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

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


[jboss-user] [EJB 3.0] - Re: EJB3 Transaction with Oracle 10g XE

2007-03-22 Thread abhinav19
This is the stack trace


22:33:06,403 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval from 
dual
  | 
  | 22:33:07,336 INFO [STDOUT] Hibernate: select hibernate_sequence.nextval 
from dual
  | 
  | 22:33:07,531 INFO [STDOUT] Hibernate: insert into tusr (USR_LGN_ID, 
USR_ROLE_ID, LST_LGN_TS, USR_ADD_INF, CRTD_TS, CRTD_USR, UPDT_TS, UPDT_USR, 
USR_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
  | 
  | 22:33:08,309 WARN [JDBCExceptionReporter] SQL Error: 2291, SQLState: 23000
  | 
  | 22:33:08,310 ERROR [JDBCExceptionReporter] ORA-02291: integrity constraint 
(ATSUSER.SYS_C004032) violated - parent key not found
  | 
  | 22:33:08,310 WARN [JDBCExceptionReporter] SQL Error: 2291, SQLState: 23000
  | 
  | 22:33:08,310 ERROR [JDBCExceptionReporter] ORA-02291: integrity constraint 
(ATSUSER.SYS_C004032) violated - parent key not found
  | 
  | 22:33:08,321 ERROR [AbstractFlushingEventListener] Could not synchronize 
database state with session
  | 
  | org.hibernate.exception.ConstraintViolationException
  | : Could not execute JDBC batch update
  | 
  | at org.hibernate.exception.SQLStateConverter.convert(
  | SQLStateConverter.java:71)
  | 
  | at org.hibernate.exception.JDBCExceptionHelper.convert(
  | JDBCExceptionHelper.java:43)
  | 
  | at org.hibernate.jdbc.AbstractBatcher.executeBatch(
  | AbstractBatcher.java:249)
  | 
  | at org.hibernate.jdbc.AbstractBatcher.prepareStatement(
  | AbstractBatcher.java:92)
  | 
  | at org.hibernate.jdbc.AbstractBatcher.prepareStatement(
  | AbstractBatcher.java:87)
  | 
  | at org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(
  | AbstractBatcher.java:218)
  | 
  | at org.hibernate.persister.entity.AbstractEntityPersister.insert(
  | AbstractEntityPersister.java:2159)
  | 
  | at org.hibernate.persister.entity.AbstractEntityPersister.insert(
  | AbstractEntityPersister.java:2595)
  | 
  | at org.hibernate.action.EntityInsertAction.execute(
  | EntityInsertAction.java:51)
  | 
  | at org.hibernate.engine.ActionQueue.execute(
  | ActionQueue.java:248)
  | 
  | at org.hibernate.engine.ActionQueue.executeActions(
  | ActionQueue.java:232)
  | 
  | at org.hibernate.engine.ActionQueue.executeActions(
  | ActionQueue.java:139)
  | 
  | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
  | AbstractFlushingEventListener.java:298)
  | 
  | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(
  | DefaultFlushEventListener.java:27)
  | 
  | at org.hibernate.impl.SessionImpl.flush(
  | SessionImpl.java:1000)
  | 
  | at org.hibernate.impl.SessionImpl.managedFlush(
  | SessionImpl.java:338)
  | 
  | at org.hibernate.ejb.AbstractEntityManagerImpl$1.beforeCompletion(
  | AbstractEntityManagerImpl.java:515)
  | 
  | at org.jboss.tm.TransactionImpl.doBeforeCompletion(
  | TransactionImpl.java:1491)
  | 
  | at org.jboss.tm.TransactionImpl.beforePrepare(
  | TransactionImpl.java:1110)
  | 
  | at org.jboss.tm.TransactionImpl.commit(
  | TransactionImpl.java:324)
  | 
  | at org.jboss.tm.TxManager.commit(
  | TxManager.java:240)
  | 
  | at org.jboss.aspects.tx.TxPolicy.endTransaction(
  | TxPolicy.java:175)
  | 
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(
  | TxPolicy.java:87)
  | 
  | 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:102)
  | 
  | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(
  | MethodInvocation.java:101)
  | 
  | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(
  | ENCPropagationInterceptor.java:47)
  | 
  | 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.StatelessContainer.dynamicInvoke(
  | StatelessContainer.java:263)
  | 
  | at org.jboss.aop.Dispatcher.invoke(
  | Dispatcher.java:106)
  | 
  | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(
  | AOPRemotingInvocationHandler.java:82)
  | 
  | at org.jboss.remoting.ServerInvoker.invoke(
  | ServerInvoker.java:828)
  | 
  | at org.jboss.remoting.ServerInvoker.invoke(
  | ServerInvoker.java:681)
  | 
  | at

[jboss-user] [Testimonials] - Re: Migration from Weblogic to JBoss 4.0.5

2007-03-22 Thread dward
So your ClassCastException is different from your original 
NameNotFoundException.

The NameNotFoundException was caused by looking up a jndi name that was not 
bound.  It seems like a common thing for people who are used to weblogic to 
bind beans into jndi with the fully qualified package name of a class.  You are 
also depending upon the global jndi namespace.  I would suggest you:
1) look into using local interfaces to your ejbs rather than remote interfaces 
wherever possible
2) change your jndi names to path-like structures
3) make use of ejb references ( or ) to bind your beans 
from the global jndi namespace into a local jndi namespace (so you could lookup 
"java:comp/env/ejb/UserService" - the standard way of doing it)
How to do the above is in the standard ejb documentation and jboss 
documentation.

You ClassCastException was caused by your second narrow.  You only have to 
narrow the remote home interface.  After that you can just call create() and 
use the remote interface you get back directly.  (If you decide to move to 
local interfaces rather than remote remember that the narrow would then be 
unnecessary.)

Last, I know you are just trying to migrate an existing application, but 
remember if you move to EJB3 and JEE 5, explicit jndi lookups can become a 
thing of the past as you can use annotations to instruct the container to 
inject resources into your managed componets.

Hope this helps.

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

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


[jboss-user] [Remoting] - Re: timeout specification

2007-03-22 Thread [EMAIL PROTECTED]
I just did an experiment in which I set the client's timeout to 1 second and 
pulled the ethernet plug out of the server machine.  I'm using the socket 
transport, by the way.  It took 30 seconds to get a timeout exception.  What's 
happening is that the socket client invoker tries multiple times (30 by 
default) to get a connection, and each connection timed out after 1 second.  
The number of attempts can be configured by setting the numberOfRetries 
parameter.

Similarly, (also in the socket transport) if a connection has been established 
and then fails during the invocation, the invocation will be retried (3 times 
by default).  The number of retries can be configured by setting the 
numberOfCallRetries parameter.

You might be experiencing something like this.  See what happens if you run the 
client with the log level for org.jboss.remoting loggers set to DEBUG.

By the way, my client was on a Windows machine and my server was on a linux 
machine.  Java sockets depend on the underlying operating system, and it's just 
a fact that different environments handle this problem differently.  If you 
have the misfortune to be working in an environment that doesn't give you the 
support you need, you may have to handle the "unplugged cable" problem at the 
application level.  Just to see that you're not alone, take a look at 

http://forum.java.sun.com/thread.jspa?threadID=316842&messageID=1604338

A couple of strategies come to mind.  The forum suggests pinging on the 
connection to see if it's alive, and Remoting can help you with that.  Read 
about leasing and connection validation in Chapter 8 of the Remoting 
documentation:

http://labs.jboss.com/portal/jbossremoting/docs/guide/chapter-connection-failure.html

Another possibility would be to put the invocation in a separate thread t, and 
then, in your main thread, call t.join(timeout).  

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: jboss IDE beta3

2007-03-22 Thread [EMAIL PROTECTED]

http://jboss.com/partners/exadel#jbosside

And yes, we are focusing on Exadel work at the moment.

/max

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

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


[jboss-user] [JBossCache] - Re: java.lang.IllegalStateException: there is already a writ

2007-03-22 Thread [EMAIL PROTECTED]
Have you tried the teast case attached in JBCACHE-740?  (You may need tomodify 
this a bit since 740 was contributed by someone using JOTM)

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

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


[jboss-user] [JBossCache] - Re: TimeoutException on next access after eviction

2007-03-22 Thread kevinstembridge
Hi Manik,
Thanks for the info, I'll give the latest distro a try and let you know how it 
goes.

Cheers,
Kevin



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

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


[jboss-user] [JBossCache] - Re: JDBCCacheLoader config

2007-03-22 Thread [EMAIL PROTECTED]
Umm - does this explain why?  :-)


  |true
  | 



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

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


[jboss-user] [JBossCache] - Re: jboss asynchronous cache replication - when it's finishe

2007-03-22 Thread [EMAIL PROTECTED]
ExtendedTreeCacheListener has methods that pass in an 'isLocal' flag so you see 
notifications from remote nodes.

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

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


[jboss-user] [JBossCache] - Re: TimeoutException on next access after eviction

2007-03-22 Thread [EMAIL PROTECTED]
See JBCACHE-794.  Eviction lock acquisistion timeouts should be forced to 0, 
since if a node is locked, it shouldn't be evicted!  :-)

Pls try the latest JBoss Cache 1.4.x series distro.

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

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


[jboss-user] [JBoss Seam] - Re: not recognized in seam 1.2.0 patch1

2007-03-22 Thread juangiovanolli
oh, i get the problem. a friend extend a class from htmllink. and that's the 
reason because i get that exception when i move seam-ui to /web-inf/lib.
Are there any configuration for get that my classes can extend from classes 
located in jars, located in /web-inf/lib  i suppose yes.
Thanks all for your patience

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

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


[jboss-user] [JBoss Seam] - Re: Using convertEntity and still getting

2007-03-22 Thread ector7280
Apparently that was just a problem with eclipse.
Everything got built but, it appears to be incompatible with icefaces 1.5.3.
It's throwing this exception:

15:17:35,439 ERROR [SeamUtilities] Exception loading seam environment:
  | java.lang.NoSuchMethodException: 
org.jboss.seam.core.Manager.encodeConversationId(java.lang.String)
  | at java.lang.Class.getMethod(Class.java:1581)
  | at 
com.icesoft.util.SeamUtilities.loadSeamEnvironment(SeamUtilities.java:250)
  | at com.icesoft.util.SeamUtilities.(SeamUtilities.java:49)
  | at 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.checkSeamRequestParameters(PersistentFacesServlet.jav
  | a:483)
  | at 
com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:326)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java
  | :664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)

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

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


[jboss-user] [JBossWS] - How to retrieve my WebServices' URLs?

2007-03-22 Thread yurimorais
Hello folks,
I'm using EJB 3 with JBoss 4.
How can I retrieve dinamically the WebServices' URLs that are running in my 
container (JBoss) ?
I would like that when the component were deployed, I could retrieve its URL 
and persist it.
Any idea?

Thanks,
Yuri

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

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


[jboss-user] [JBoss Seam] - use Seam to respond with bytes (not XML) ?

2007-03-22 Thread codelion
Sure, I could do it with a Servlet.  But then I'd have to figure out how to do 
everything else from a servlet that I already know how to do with .seam, 
.xhtml, .page.xml, security, exceptions, etc.

I have a byte array in the property of a component.  Obviously accessible from 
within an action.

How do I make a response the return the bytes (with a MIME type of my choice)?

I've done it from a servlet before.  But how from an action?  Correctly?

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

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


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

2007-03-22 Thread yangju

I have struggled for days getting a java.lang.Double filed mapped to oracle 
NUMBER type with precision 4 and scale 1.
 I tried this:

  

and


  

and



And over two dozen combinations.
None worked.

Does this validation have anything to do with jdbc driver?
My dialect is Oracle9Dialect.
We use jboss 4.0.3SP1 (hibernate jars come with this jboss release).

This is what I got: 

org.hibernate.HibernateException: Wrong column type: ValidityAdjacentPercent, 
expected: NUMBER(4,1)
at org.hibernate.mapping.Table.validateColumns(Table.java:205)
at 
org.hibernate.cfg.Configuration.validateSchema(Configuration.java:956)
at 
org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:116)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:299)
at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1145)
at 
com.pearson.resource.adapter.jmx.jboss.hibernate.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:220)
at 
com.pearson.resource.adapter.jmx.jboss.hibernate.HibernateSessionFactory.startService(HibernateSessionFactory.java:100)
at 
com.pearson.epen.service.SessionFactoryDeployer.addSessionFactoryForDatasource(SessionFactoryDeployer.java:91)
at 
com.pearson.epen.service.DataSourceListener$DeployerThread.deploySessionFactory(DataSourceListener.java:416)
at 
com.pearson.epen.service.DataSourceListener$DeployerThread.run(DataSourceListener.java:393)


I even tried big_decimal. It does not work either.
The same mapping works for sql-server where we have decimal in the database as 
a type.

Please help. I don't see any example.


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

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


[jboss-user] [Remoting] - Re: Swing Client problem

2007-03-22 Thread [EMAIL PROTECTED]
Is com.acme.model.persistence.Product included on the client classpath (i.e. 
within appClient.jar)?

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

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


[jboss-user] [Remoting] - Re: Timeout parameter - can I specify timeout per request?

2007-03-22 Thread [EMAIL PROTECTED]
What should happen (at least with 2.2.0 code) is when a server is killed while 
processing a client invocatoin, the client will get a connection reset 
exception (is a SocketException that is actually thrown internally).  
Internally, remoting client catches that SocketException and re-tries the 
invocation (several times).  I think the delay you are seeing is due to the 
number of times it retries along with the amount of time it takes for the 
connection timeout to kick in (i.e. timeout * numberOfRetries * 
numberOfCallRetries).  

If want immediate failure, can set numberOfRetries and numberOfCallRetries  to 
0 (see http://labs.jboss.com/portal/jbossremoting/docs/guide/ch05.html#d0e1088).



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

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


[jboss-user] [JBossCache] - Re: jboss asynchronous cache replication - when it's finishe

2007-03-22 Thread nachos
No, i created simple listener which implements TreeCacheListener.

--
Maciej Borecki

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Making the application as default

2007-03-22 Thread niranjanshetty
Deleting the ROOT.war directory and renaming the custom app to ROOT.war didnt 
help either. Not able to understand where things are going wrong. There is no 
exception in the server startup. But a page not found appears when 
http://localhost:8080/ is accessed. No redirection occurring as such .The 
jboss-web.xml file has this


   /ITMS


where ITMS is the name of the application. Any clue?

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

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


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

2007-03-22 Thread quilleashm
I've just had a similar problem.  I have a value binding on a selectOneMenu to 
a hibernate nested object.  I use a converter to convert a hibernate entity to 
class + id string and back again.  During the rendering of the menu item the 
JSF renderer tries to match the current selected value to one of the options.  
The selected value is a proxy (it uses the EL) whereas the select items are 
fully instantiated objects.

This gives an ELException when it calls coerceToType on the ExpressionFactory 
to try and coerce an object to it's proxy.  I think in this instance it is a 
JSF problem rather than a Seam problem but it might be related, seems similar.

I can supply for detail if it would be useful.

Cheers.

Mike.


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

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


[jboss-user] [JBoss Seam] - Re: not recognized in seam 1.2.0 patch1

2007-03-22 Thread juangiovanolli
ooohhjeejejjeje.
now i understand! i should create a project with seam -gen seam to get an 
example of how libraries should be located.

Sorry guys. this week isn't my best week

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: not recognized in seam 1.2.0 patch1

2007-03-22 Thread stu2
Whether you use the seam-gen structure is up to you.  But generating a throw 
away project takes a minute, and will show you exactly where everything has to 
go.  I'm having trouble imagining reasons why you can't do this.

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

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


[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-22 Thread kukeltje
guys, what about jbpm being able to store a view-id in the processdefinition 
with a task? Currently jbpm has some forms.xml file which does kind of what is 
described here in the pages.xml. 

Besides that, afaik, jBPM 3.2 already is able to do something like autostart. 
I'll look into that tomorrow

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

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


[jboss-user] [JBoss jBPM] - Re: deployment in JBoss

2007-03-22 Thread [EMAIL PROTECTED]
"kukeltje" wrote : Yep, sounds cool. afaik, there even is a jira issue for this 
and some discussion, see 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=77743&postdays=0&postorder=asc&start=0
 
  | 
  | Some things to keep in mind or explicitly rule out in the docs:
  | - whitespace does not necessarily make a process different, but does so for 
a hash. Normalize?
  | - different order of elements does not make a process be have different 
  | 

Does really matter as usually redeployment is development phase anyways.  Right?

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

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


[jboss-user] [JBoss Seam] - Re: configurable Skinning with Richfaces

2007-03-22 Thread stu2
You might take a look at the wiki example app.  They use a fairly clever way of 
skinning which I've now adopted.  You basically expose a bean with constants 
and reference that from the pages.  It's then simple to specify new sets of 
files for your theme, which in the wiki example also includes the template.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - jboss IDE beta3

2007-03-22 Thread robinemig
What is the status of beta3? It is going to be postponed until the exadel merge 
in the summer?

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

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


[jboss-user] [JBossCache] - Re: jboss asynchronous cache replication - when it's finishe

2007-03-22 Thread [EMAIL PROTECTED]
If you used 1.x, did you create an ExtendedTreeCacheListener?

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

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


[jboss-user] [Beginners Corner] - Re: Config Value ${jboss.bind.address}. Where is it set?

2007-03-22 Thread genman
It's usually not defined by default. You set it using a 
-Djboss.build.address=xyz if you want to set it.

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

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


[jboss-user] [JBoss Seam] - Re: A Seam example with RichFaces?

2007-03-22 Thread stu2
"[EMAIL PROTECTED]" wrote : Hello,
  | I think it is useful to have an example of using Seam with richfaces. In 
particular with drag and drop features.
  | I have some problem with this and the RichFaces people didn't give me a 
solution. The richfaces example works... but i use
  | Seam+Facelet+Richfaces from CVS and I'm not able to use the drag and drop 
features.
  | 
  | Thanks

I'm using DnD for a "map your columns to our columns" type scenario with the 
latest Seam + Facelets + Richfaces.  Up until yesterday when the Richfaces 
snapshot seemed to break with JSF 1.2 
(http://jboss.com/index.html?module=bb&op=viewtopic&t=104731) it worked 
extremely well.  Here's a summary:


  | 
  |  
  |   
   
  | 
  | 
  | 
  | Your 
Columns
  | 
  | 
  | Your Column
  | 
#{fm.rawColumn.columnNumber}
  | 
  | 
  | Example Data(Drag me!)
  | 
  | 

  | 

  | 

  | #{fm.rawColumn.header} 
#{fm.rawColumn.oneExample}
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

  | 

  | 
#{fm.cdmField.name}
  | 
  | 
  | 
  | 
  | 
  | 

In the SFSB the DnD event is received like this:


  | public void mapColumn(DropEvent dropEvent) {
  | Dropzone dropzone = (Dropzone) dropEvent.getComponent();
  | 
this.mapColumn(Integer.parseInt(dropEvent.getDragValue().toString()), 
dropzone.getDropValue().toString());
  | }
  | 
  | 

Hope that helps.  You'll find quite a few Richfaces examples in the seam 
example apps - especially the wiki.  Though they don't cover DnD.  

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

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


[jboss-user] [JNDI/Naming/Network] - problems with the dependences

2007-03-22 Thread da-romer
Hi everyone. 

I have a problem with the dependence of my SAR. When the jboss is running and I 
make deploy of my SAR, the application works without any problem. But when I 
stop the jboss and I put it to run again alway appear an 
javax.naming.NameNotFoundException associated with the datasource that I am 
using. If i make deploy again the application is deployed without any problem. 
I thing that dependencies of my jboss-server descriptor is not working at all. 

Can anyone help me with this problem?


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

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


[jboss-user] [JBossWS] - Re: Problem consuming web services

2007-03-22 Thread PeterJ
I have a simple web service that does not look much different from yours, and I 
can access it from C# just fine. (using JBoss AS 4.0.5 w. EJB3 and JBoss WS 1.2)

What is in your war file? Did you, by any chance, pack any jar files into the 
war file?

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

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


[jboss-user] [JBoss AOP] - Re: Getting an Object in Interceptor

2007-03-22 Thread [EMAIL PROTECTED]

  | execution(fully.qualified.IEntity 
fully.qualified.EntityFactory->getEntiy(fully.qualified.Message))
  | 

or something picking out all methods returning IEntity


  | execution(fully.qualified.IEntity *->*(..))
  | 

The tutorial that comes with the download has more examples

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

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


[jboss-user] [JBossCache] - Re: jboss asynchronous cache replication - when it's finishe

2007-03-22 Thread [EMAIL PROTECTED]
What version of JBossCache do you use?

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

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


[jboss-user] [JBossCache] - Re: problem when attribute UseReplQueue is true...

2007-03-22 Thread [EMAIL PROTECTED]
Hi,  

Could you post more logging (trace level) that leads up to this exception?

Have you tried newer versions of JBoss Cache?

Cheers,
Manik

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

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


[jboss-user] [EJB 3.0] - Embedded EJB3 and AOP -- can I get loadtime weaving?

2007-03-22 Thread hindog
Hi, I am trying to apply my AOP aspects to an embedded EJB3 test -- when I do 
that, I get the following error:

Exception in thread "main" java.lang.ExceptionInInitializerError
at com.edicorp.EJB3Test.main(EJB3Test.java:28)
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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Caused by: java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException: 
Failed to parse source: 
file:/home/hindog/IdeaProjects/maven/edicorp/erp/ejb/target/classes/META-INF/[EMAIL
 PROTECTED],70
at 
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.deployXmlResource(EJB3StandaloneBootstrap.java:103)
at com.edicorp.EJB3Deployer.(EJB3Deployer.java:32)
... 6 more
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: 
file:/home/hindog/IdeaProjects/maven/edicorp/erp/ejb/target/classes/META-INF/[EMAIL
 PROTECTED],70
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:142)
at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)
at 
org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:85)
at 
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.deployXmlResource(EJB3StandaloneBootstrap.java:97)
... 7 more
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: No cursor for aspect
at 
org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:280)
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:301)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown 
Source)
at 
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:138)



With a very basic AOP configuration:


  
   

   
   
   

   
   
   

   
   
   

   
   
   





If I load the AOP aspects from the run command, I get IllegalAccessErrors in my 
beans as it seems the EJBStandaloneDeployer deploys into a separate 
classloader.  So I am trying to do EJB3StandaloneDeployer.deployXmlResource( 
"my-aop.xml" ) to have the AOP deployed in the same classloader as the beans 
are managed from. 

I'm not sure if I am doing any of this the right way, is there a method for 
getting AOP to work in Embedded, or is it not supported (loadtime weaving)?

Thanks,

Aaron


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

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


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

2007-03-22 Thread dustismo
I attached simple setup to the jira item.  Hopefully you will be able to 
replicate the problem.  If you need anything else let me know.

Thanks,
Dustin

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

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

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


[jboss-user] [JBoss jBPM] - run graphical process designer (GPD)???

2007-03-22 Thread jbmp user
Hi all!!

In my new application, I don't use started kit of jbpm, I only use jbpm-3.1.3.

For create my new application in Eclipse, I run New -> Project -> Web -> 
Dynamic Web Project.
But for install the graphical process designer like a plugin of Eclipse, I must 
run New -> Project -> JBoss jBPM -> Process Project.
Then, how run I now the graphical process designer (in my new Dynamic Web 
Project)

I'm sorry my bad ingles!!!:)

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

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


[jboss-user] [JBossCache] - Re: TreeCache problem killing nodes

2007-03-22 Thread [EMAIL PROTECTED]
Have you tested multicast on the networks using one of the JGroups demo 
programs?  (See docs on www.jgroups.org for troubleshooting to make sure the 
JGroups channels on each node can see the cluster)

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

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


[jboss-user] [JBoss AOP] - Getting an Object in Interceptor

2007-03-22 Thread kumar_iitm
Hi,
I'm new to JBoss AOP and I'm struck in mid of development. I want to intercept 
a call in a method and I need the object returned by the call to be used in 
Interceptor. 

Basically I'm trying to use JAMON to monitor tha application and want to 
intercept these calls with JBoss AOP.
public void methodX() {

...
   IEntity entiti = EntityFactory.getEntiy(msg);
 }
I want to intercept the above call and pass the entiti object to the 
Interceptor which has to be passed to JAmon API.

Can any one please guide me how to write the pointcut for this?



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

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


[jboss-user] [JBoss Seam] - Re: A Seam example with RichFaces?

2007-03-22 Thread [EMAIL PROTECTED]
seam-gen will generate a richfaces-enabled app, but it doesn't make use of drag 
and drop.   I don't know which examples will be updated for Richfaces in 1.2.1, 
but you can expect to see more and more Richfaces in them over time.


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

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


  1   2   3   >