[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
On the basis that JSF+Seam is rather weired in places I did this


  | // Create the default set of Keywords (empty).
  | keywordsSet =null; // = new LinkedHashSet();
  | 
  |   | 
  |   | and this
  |   | 
  |   | 
  |   |   | public void addKeyword() {
  |   |   | Keyword newKeyword = new Keyword();
  |   |   | newKeyword.setKeyword(getNewKeyword());
  |   |   | if (keywordsSet == null) {
  |   |   | keywordsSet = new LinkedHashSet();
  |   |   | }
  |   |   | keywordsSet.add(newKeyword);
  |   |   | }
  |   |   | 
  |   | 
  |   | And then it worked!
  |   | 
  |   | Is this a BUG  for JIRA or just annother odditity with JSF?
  |   | 
  |   | 

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

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


[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
The plot thickens..

I now get only one element displayed in the data table and this error:


  | 19:31:37,859 ERROR [HtmlTableRendererBase] Row is not available. Rowindex = 
1
  | 


  | public void addKeyword() {
  | Keyword newKeyword = new Keyword();
  | newKeyword.setKeyword(getNewKeyword());
  | if (keywordsSet == null) {
  | keywordsSet = new LinkedHashSet();
  | }
  | keywordsSet.add(newKeyword);
  | for (Keyword eachKeyword : keywordsSet) {
  | log.info(eachKeyword + " " + eachKeyword.hashCode());
  | }
  | }
  | 

gives:

  | 19:32:31,609 INFO  [AdvertisingCampaignControllerImpl] Keyword (Id => null, 
Version => null, Keyword => a) 97
  | 19:32:31,609 INFO  [AdvertisingCampaignControllerImpl] Keyword (Id => null, 
Version => null, Keyword => b) 98
  | 19:32:31,609 INFO  [AdvertisingCampaignControllerImpl] Keyword (Id => null, 
Version => null, Keyword => c) 99
  | 19:32:31,609 INFO  [AdvertisingCampaignControllerImpl] Keyword (Id => null, 
Version => null, Keyword => d) 100
  | 19:32:31,859 ERROR [HtmlTableRendererBase] Row is not available. Rowindex = 
1
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
Ok, I got it working by adding PAGE to the Models (No I have no idea why I 
needed to !)


  | @DataModel(value="displayableCategoryDatamodel", scope=ScopeType.PAGE)
  | private LinkedHashSet displayableCategorySet;
  | 
  | @DataModelSelection(value="displayableCategoryDatamodel")
  | private DisplayableCategory selectedDisplayableCategory;
  | 
  | @DataModel(value="keywordsDatamodel", scope=ScopeType.PAGE)
  | private LinkedHashSet keywordsSet;
  | 
  | @DataModelSelection(value="keywordsDatamodel")
  | private Keyword selectedKeyword;
  | 

anyhow,

So.. now I have this 


  | 
  | 
  | 
  | 
  | 

  | 

  | 

  | 

  | 
  | 
  | 
  | 

  | 
  | 
  | 
  | 

Why am I getting null in the routine for deleteKeyword(eachKeyword)??? for 
eachKeyword?


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

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


[jboss-user] [JBoss Seam] - Re: Ending multiple nested conversations?

2007-04-22 Thread [EMAIL PROTECTED]
Here is my solution:

Add this method to org.jboss.seam.core.Manager


  |/**
  | * End a conversation together with all nested conversations. The
  | * conversation passed in cid will be destroyed at the end of the
  | * request while the nested conversations are destroyed immediately.
  | * 
  | * @param cid the ID of the conversation
  | */   
  |public void endConversationByID(String cid, boolean beforeRedirect)
  |{
  |   log.debug("Ending long-running conversation");
  |   
  |   if ( Events.exists() ) 
Events.instance().raiseEvent("org.jboss.seam.endConversation");
  |  
  |   ConversationEntries ce = (ConversationEntries)
  |  Component.getInstance("org.jboss.seam.core.conversationEntries");
  |   setCurrentConversationId( cid );
  |   setCurrentConversationIdStack(
  |  ce.getConversationEntry( cid ).getConversationIdStack());
  |   setLongRunningConversation( false );
  |   destroyBeforeRedirect = beforeRedirect;
  |   endNestedConversations( cid );
  |   storeConversationToViewRootIfNecessary();
  |}
  | 

In the bean do this:


  |public String endParent()
  |{
  |   Manager m = 
(Manager)Component.getInstance("org.jboss.seam.core.manager");
  |   m.endConversationByID(Conversation.instance().getParentId(), false);
  |   return "next.seam"; 
  |}
  | 
  |//Assuming conversations 1->2->3
  |public String endParentOfParent()
  |{
  |   Manager m = 
(Manager)Component.getInstance("org.jboss.seam.core.manager");
  | 
  |   // kill immediately 3, set Conversation.instance() to 2 and mark it to
  |   // be ended at the end of the request
  |   m.endConversationByID(Conversation.instance().getParentId(), false);
  |   
  |   // kill immediately 2, set Conversation.instance() to 1 and mark it to
  |   // be ended at the end of the request 
  |   m.endConversationByID(Conversation.instance().getParentId(), false); 
  |   return "next.seam"; 
  |}
  | 

The endParent() kills the current conversation immediately and the parent at 
the end of the request. If you want to kill the parent of the parent too, you 
can call endConversationByID against Conversation.instance().getParentId() 
because the current Conversation instance is actually the conversation 
scheduled to be destroyed at the end of the request.


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

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


[jboss-user] [JBoss Seam] - Re: HELP! get exception when add @Restrict(

2007-04-22 Thread [EMAIL PROTECTED]
use @Restrict("#{identity.loggedIn}") 

"{" instead of "("

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

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


[jboss-user] [JBoss Seam] - Single row selection using a radio button

2007-04-22 Thread ejbengine
Is this easily achievable with SEAM?

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

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


[jboss-user] [Clustering/JBoss] - Re: Wrong targets come to LoadBalancePolicy

2007-04-22 Thread kkrivopustov
You are right, I lookup a new reference of the bean on each iteration. If I use 
the same reference, it works as expected.

Thank you.

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

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


[jboss-user] [JBoss Seam] - Re: How to develop my first web app with seam, without EJB, wi

2007-04-22 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | I used the seam command to generate a project,but i think the folder 
structure is too bad,so i change the todo example to project login:
  | 

Well, obviously the problem is here. Did the seam-gen produced project work? If 
yes, don't change it just because you don't like it. At least, make a small 
change then re-test and find out if what you did worked. Don't change 
everything at once and then work backwards.


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

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


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

2007-04-22 Thread zzztimbo
"petemuir" wrote : 
http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/i18n.html#d0e7314

I'm sorry, but I already looked there. That one paragraph on timezone does not 
speak of creating a pull down of all available timezones. I'm looking for a way 
to display the results of TimeZone.getAvailableIDs()  as a pulldown on the 
screen.

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

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


[jboss-user] [JBoss Seam] - Re: Ending multiple nested conversations?

2007-04-22 Thread [EMAIL PROTECTED]
Actually it's better to use the instance methods


  |/**
  | * End a conversation together with all nested conversations. The
  | * conversation passed in cid will be destroyed at the end of the
  | * request while the nested conversations are destroyed immediately.
  | * 
  | * @param cid the ID of the conversation
  | */   
  |public void endConversationByID(String cid, boolean beforeRedirect)
  |{
  |   log.debug("Ending long-running conversation");
  |   
  |   if ( Events.exists() ) 
Events.instance().raiseEvent("org.jboss.seam.endConversation");
  |  
  |   ConversationEntries ce = ConversationEntries.instance();
  |   setCurrentConversationId( cid );
  |   setCurrentConversationIdStack(
  |  ce.getConversationEntry( cid ).getConversationIdStack());
  |   setLongRunningConversation( false );
  |   destroyBeforeRedirect = beforeRedirect;
  |   endNestedConversations( cid );
  |   storeConversationToViewRootIfNecessary();
  |}
  | 

with


  |public String endParent()
  |{
  |   Manager m = Manager.instance();
  |   m.endConversationByID(Conversation.instance().getParentId(), false);
  |   return "next.seam"; 
  |}
  | 
  |//Assuming conversations 1->2->3
  |public String endParentOfParent()
  |{
  |   Manager m = Manager.instance()
  | 
  |   // kill immediately 3, set Conversation.instance() to 2 and mark it to
  |   // be ended at the end of the request
  |   m.endConversationByID(Conversation.instance().getParentId(), false);
  |   
  |   // kill immediately 2, set Conversation.instance() to 1 and mark it to
  |   // be ended at the end of the request 
  |   m.endConversationByID(Conversation.instance().getParentId(), false); 
  |   return "next.seam"; 
  |}
  | 

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - xdoclet.modules.ejb.EjbDocletTask not found in nerw JBoss ID

2007-04-22 Thread jdriver
I've installed JBoss IDE 1.6 and am running the tutorial
http://docs.jboss.com/jbosside/tutorial/build/en/html/tutorial.preparation.html

I create the project but when I try to build aznd run after creating the 
xdcolet I get:
BUILD FAILED
/home/jboss/workspace/Tutorial/xdoclet-build.xml:20: taskdef class 
xdoclet.modules.ejb.EjbDocletTask cannot be found

Total time: 1 second

This is in the console window. Are there any instructions on where I can get 
this package and how to install properly?

Thanks. - Jesse 

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

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


[jboss-user] [JBoss Seam] - How to develop my first web app with seam, without EJB, withou

2007-04-22 Thread Theface
Hi,all.
can you help me to develop my first web app,with seam,but without EJB and any 
DataBase(or called Datasource),Thanks very much at first.
I used the seam command to generate a project,but i think the folder structure 
is too bad,so i change the todo example to project login:

login
-src
--org.jboss.seam.example.todo.Login.java
-web
--index.html
--login.jsp
--WEB-INF
---web.xml
---components.xml
---faces-config.xml
---lib
All lib from example folder(size is 23MB)---

and following is changed file:
components.xml-
http://jboss.com/products/seam/components-1.2.dtd";>





---faces-config.xml---

http://java.sun.com/dtd/web-facesconfig_1_0.dtd";>




I deployed this project to tomcat 5.5,and startup the sever.no exception 
throws,but when to show this page use /login/login.seam.the sever will throw 
many exception likes follow:
21:29:28,453 ERROR [ExceptionFilter] could not roll back transaction
javax.naming.NamingException: Local server is not initialized
at 
org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45)
at 
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at 
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.(InitialContext.java:197)
at org.jboss.seam.util.Naming.getInitialContext(Naming.java:35)
at org.jboss.seam.util.Naming.getInitialContext(Naming.java:47)
at 
org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:149)
at 
org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:122)
at 
org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50)
at 
org.jboss.seam.web.ExceptionFilter.rollbackTransactionIfNecessary(ExceptionFilter.java:128)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
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.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:215)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:619)

but the login form is display in browser.

My english is too bad.so .I hope anyone can knows my means.
Thanks again.

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

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


[jboss-user] [JBoss Seam] - Re: HELP! get exception when add @Restrict(

2007-04-22 Thread yadong
thanks a lot!

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

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


[jboss-user] [JBoss Seam] - Re: How to develop my first web app with seam, without EJB, wi

2007-04-22 Thread Theface
Thanks to your post at first.
I am sorry.I have no spell out.
When i generate a project use seam-gen.It can but deploy to JBoss AS,ant it 
work fine.but this project has many file,so i did some change with the todo 
example.
and the old style of components.xml is:


todo.jpdl.xml



when i delete the microcontainer define .it work fine too.so i thought the 
problem is Jbpm define.I don't know it will do what something at Jbpm init.but 
i know it will use datasource .
the classes folder contains following files:

jboss-beans.xml
.gpd.todo.jpdl.xml
components.properties
hibernate.cfg.xml
jbpm.cfg.xml
seam.properties
todo.jpdl.xml

I deleted jboss-beans.xml,it work no any exceptions.
I deleted components.properties and seam.properties.it work fine.
the three files jbpm.cfg.xml,.gpd.todo.jpdl.xml,jbpm.cfg.xml will used by 
jbpm.so i delete jbpm define from components.xml,and deleted the three 
files.but it dose not work.
I need help to how to config this file.I readed the seam reference ,but i can't 
found any ideas can solve my problem.


thank you again.


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

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


[jboss-user] [EJB 3.0] - Create timer -

2007-04-22 Thread obfuscator
Hi! I've got the following error using both 4.0.5.GA and 4.2.0.CR2. This used 
to work on 4.0.4.GA, but I needed to switch to 4.0.5 because I wanted more EJB3 
functionality...

I have a "@Service-EJB" that implements a management-interface with a 
start()-method.

When start() is called, this bean calls another SLSB (by using a 
@EJB-reference).  The second beans sets up a timer for some maintainence-logic.

When the second bean tries to create the timer, I get the log messages stated 
below (warning followed by errors). 

In short: A::start()-->B::setupTimers()-->"Does not compute"

I've tried with some different @TransactionAttribute-settings, since I thought 
that this might have something to do with multiple transactions being activated 
or something.

I need a hint on this, can't figure out what's happening :(

Sorry for the REALLY long stacktrace.


  | 17:23:08,484 INFO  [ApplicationServiceBean] setting up timer for 
maintainance every 100 millisecond.
  | 17:23:08,484 WARN  [loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
[com.arjuna.ats.internal.jta.transaction.a
  | rjunacore.lastResource.disallow] Adding multiple last resources is 
disallowed. Current resource is 
org.jboss.resource.connectionmanager.TxConnectionM
  | [EMAIL PROTECTED]
  | 17:23:08,500 ERROR [TimerServiceImpl] Cannot create txtimer
  | java.lang.IllegalStateException: Unable to persist timer
  | at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.insertTimer(DatabasePersistencePolicy.java:124)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy30.insertTimer(Unknown Source)
  | at 
org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(TimerServiceImpl.java:256)
  | at 
org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(TimerServiceImpl.java:202)
  | at 
org.jboss.ejb3.timerservice.jboss.TimerServiceFacade.createTimer(TimerServiceFacade.java:66)
  | at 
com.yourstardom.convert.services.ApplicationServiceBean.handleStartup(ApplicationServiceBean.java:59)
  | at 
com.yourstardom.convert.services.ApplicationServiceBase.startup(ApplicationServiceBase.java:110)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
  | 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.Ejb3AuthenticationIntercep

[jboss-user] [JBoss Portal] - [SOLVED]

2007-04-22 Thread FredF
I fixed the problem by referencing the portlet with a correct path. I had to 
use 'local.web-app.portletreferencename' and not just 'portletreferencename'


/Fredrik

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

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


[jboss-user] [EJB 3.0] - Re: Create timer -

2007-04-22 Thread obfuscator
Oh, forgot the actual code... :)


  | this.context.getTimerService().createTimer(this.maintainenceIntervalMillis,
  | this.maintainenceIntervalMillis,
  | null);

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

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


[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)

2007-04-22 Thread snau2005
anonymous wrote : and into my stateless sessionbean i have created 10 Threads
  | 
  | but i got an error like this
  | 
  | entityManager.persist(usageObject); //  this is ThreadMy.java:81
  | 
  | how i can fix it ?
  | can anybody tell me ?
  | 

Do not use in Threads main entity manager, call in each Thread another 
sessionbean which will do what now Thread does (persist) (or call the same, but 
different method).

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

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


[jboss-user] [JBoss Seam] - Validating entity properties that don't get persisted?

2007-04-22 Thread grettke_spdr
Say that we've got an entity with some fields that would never get persisted. 
(for example, we take a credit card number and use it for a purcase). Still, we 
need to validate it. 

In cases like this is it better to use Hibernate validators on fields that are 
not persisted, or just use a JSF validator instead?

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

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


[jboss-user] [JBoss Seam] - Seam v1.2.1 examples question

2007-04-22 Thread suryad
Hi all, 

I am very very new to Seam but it is a heck of a framework! I had a quick 
question. I am using Tomcat 6.0 to run the examples and it is working fine. I 
figured out the classloader issue with the el-api.jar and besides that 
everything is working fine.

I had a question though. I noticed that first off there is no admin webapp for 
Tomcat 6. like there used to be for 5.5 so I cant look up certain configuration 
information easily. I was wondering if one of you could point me to the right 
direction of where I could find more information of the datasource being used 
with the sample apps provided. I am guessing it is using hsqld db. I just 
wanted to know if I could swap it over for MySQL 5.1 for example and see if I 
got it to work. Any pointers?

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

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


[jboss-user] [Clustering/JBoss] - Re: Wrong targets come to LoadBalancePolicy

2007-04-22 Thread [EMAIL PROTECTED]
No, thank you. :-)  It's still a bug -- it should work even if you look it up 
each time.  But the fact that it only fails if you look it up each time helps 
narrow down the problem a lot -- the bean proxy that you download from JNDI 
isn't getting properly updated when the bean is deployed on another server.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss install

2007-04-22 Thread sheila lety
This is for windows, how can i install on redhat  entreprise edition?

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

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


[jboss-user] [JBoss Seam] - Re: Validating entity properties that don't get persisted?

2007-04-22 Thread [EMAIL PROTECTED]
Why wouldn't you use Hibernate Validator annotations for that? Because the word 
"Hibernate" appears in the name? :)


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

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


[jboss-user] [Clustering/JBoss] - Re: Wrong targets come to LoadBalancePolicy

2007-04-22 Thread [EMAIL PROTECTED]
I've reproduced this in a test case. JIRA is 
http://jira.jboss.com/jira/browse/EJBTHREE-949. Thanks very much for the report.

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

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


[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-22 Thread stu2
"[EMAIL PROTECTED]" wrote : This might be useful for people migration from 
MyFaces to the JSF RI:
  | 
  | The default content type for a page is "application/xhtml+xml" with the JSF 
RI and Facelets, not "text/html" as with MyFaces. If you have existing content 
that is not strict XHTML (and it seems quite complicated to get this with all 
the JavaScript and stuff), or you have a browser that doesn't like this content 
type at all (IE), you can switch back to "text/html" with this in your Facelet 
page:
  | 
  | 
  |   | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  |   | http://www.w3.org/1999/xhtml";
  |   |   xmlns:ui="http://java.sun.com/jsf/facelets";
  |   |   xmlns:h="http://java.sun.com/jsf/html";
  |   |   xmlns:f="http://java.sun.com/jsf/core";
  |   |   xmlns:s="http://jboss.com/products/seam/taglib";>
  |   | 
  |   | 
  |   | 
  |   | 
  | 
  | The typical sign of this issue is that you get Firefox complaining about 
invalid XHTML.
  | 

Thanks for this Christian.  Very useful.  I've been bitten by this, and it was 
on my list of things to investigate.  Looks like some of the Richfaces stuff 
(DnD in particular) causes Firefox to complain.  This would be worth bubbling 
up to the wiki and even the documentation.

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

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


[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-22 Thread petemuir
"CptnKirk" wrote : One down side to using EntityHome for generic crud is lack 
of built in security.  

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

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

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


[jboss-user] [JBoss Seam] - Re: Single row selection using a radio button

2007-04-22 Thread petemuir
Not with Seam itself, but some jsf component sets have this, e.g. trinidad's 
tr:table with the selectedRowKeys property.

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

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


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

2007-04-22 Thread petemuir
Please file a feature request in JIRA for this.

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

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


[jboss-user] [JBoss Seam] - Re: Base Seam

2007-04-22 Thread petemuir
Are there any normal (data) rows rendered?

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

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


[jboss-user] [JBoss Seam] - Re: Seam v1.2.1 examples question

2007-04-22 Thread petemuir
Yes, it's hsql.  Follow the instructions in the hibernate 
entitymanager/hibernate core reference manual for changing the database to 
another.  N.B. seam-gen asks you questions about your database when you create 
a project

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

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


[jboss-user] [JBoss Portal] - Re: [SOLVED]

2007-04-22 Thread [EMAIL PROTECTED]
A more correct way would be to browse the portlets offered by the 
PortletInvoker and recognize your portlet using the display name and use as 
reference the string returned by Portlet.getContext().getId()

"FredF" wrote : I fixed the problem by referencing the portlet with a correct 
path. I had to use 'local.web-app.portletreferencename' and not just 
'portletreferencename'
  | 
  | 
  | /Fredrik

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

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


[jboss-user] [JBoss Seam] - Re: Seam v1.2.1 examples question

2007-04-22 Thread suryad
Thanks! I was not using seam-gen as of yet to create the projects. For now so I 
can understand better I am trying to recreate the hello world example from 
scratch by myself and see if I can get it up and running. My thought is that 
this way I would be better able to understand the configuration files since I 
will have to write them from scratch on my own using the examples as a help 
resource. So far in the configuration files in the examples that come with Seam 
1.2.1 GA have not indicated anything in the form of a datasource. 

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

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


[jboss-user] [JBoss Seam] - jboss-app.xml and its uses with regards to seam

2007-04-22 Thread suryad
Hey all, 

Once again, I am pretty new to Seam and I am just barely scratching the surface 
right now. I am running Seam example successfuly with Tomcat 6 at the moment. 
My understanding is that jboss-app.xml file is only used for when you are 
deploying the app to a Jboss AS correct? 

But seeing that to get Seam running in tomcat 6 there are all sorts of jar 
files that are needed, I am assuming this jboss-app.xml still functions the 
same as it does in a Tomcat 6 environment as it does with JBoss AS as a 
deployment server ? Hope my question makes sense. Bottomline do I need this 
file to make a seam project run on Tomcat 6?

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

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


[jboss-user] [JBoss Seam] - Re: What is the difference between EJB and POJO transactions

2007-04-22 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Also note that system transactions and 
conversations are not related in a Seam application. These are independent 
contexts with a quite different scope. System transactions are short, 
conversations are potentially long-running and spanning several requests.
  | 

Suppose that you have a conversation and you don't want to persist your changes 
until that conversation has ended. I believe this is the default behavior. 

How is this behavior related to transactions?

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

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


[jboss-user] [JBoss Seam] - Re: Validating entity properties that don't get persisted?

2007-04-22 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Why wouldn't you use Hibernate Validator 
annotations for that? Because the word "Hibernate" appears in the name? :)
  | 

Yea yea :)

The Seam book I'm reading covers this topic. I suspect they reviewed just to 
communicate that you can indeed use JSF validations if you wish. 

I would rather DRY and use Hibernate Validation annotations.

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

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


[jboss-user] [JBoss Seam] - Re: What is the difference between EJB and POJO transactions

2007-04-22 Thread [EMAIL PROTECTED]
It's not the default behavior. The default behavior is to flush a persistence 
context (translation: dirty check objects, generate and execute SQL DML) when a 
transaction commits. 

If you use Hibernate as your JPA provider, you can enable FlushModeType.MANUAL 
when you begin a conversation, so that the persistence context bound to that 
conversation is only flushed when you call entityManager.flush().

Please also read the Seam documentation, I'm basically quoting verbatim.


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

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


[jboss-user] [JBoss Seam] - Re: Base Seam

2007-04-22 Thread [EMAIL PROTECTED]
Yes they area.
and I have another few dataTables and they seem to render fine (finally!).
Its really weired.

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

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


[jboss-user] [JBoss Seam] - Re: Base Seam

2007-04-22 Thread [EMAIL PROTECTED]
This on is annoying but this one is going to be emabarassing if I dont get it 
fixed in 2 days.. we may end up going PHP!
Appreciate any comment on this one:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107010


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

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


[jboss-user] [JBoss Seam] - Re: jboss-app.xml and its uses with regards to seam

2007-04-22 Thread petemuir
jboss-app.xml is just for use on JBoss AS.  We use it to tell AS to isolate 
classloading for this ear.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039636
___
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 address relationship between three tables in Hibernat

2007-04-22 Thread nasatjboss

Here is the schema:

Table: Organization
Table: Member
Table: Role

Join Table: Organization_Member
Join Table: Organization_member_Role

A member can belong to N number of Organization and for each organization the 
member can have more then one Role


I need to know what what kind of relation ship do I need to use in Hibernate to 
provide the above mapping.

Thanks,
Nas.

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

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


[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread petemuir
On your original problem - it's hard to suggest a solution based on the info 
available (not your fault, you've supplied everything available) without using 
a debugger - it could be due to having two datamodels in the same bean - have 
you tried with just one?  Otherwise, get your debugger out and track down why 
you are getting that exception (and specifically on which datamodel it is 
occurring).

On your second problem - I'm not sure, perhaps try using page parameters 
instead?  Sorry, not very helpful, but I'm no expert on the el enhancement 
stuff :(

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

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


[jboss-user] [JBoss Seam] - Re: Seam v1.2.1 examples question

2007-04-22 Thread petemuir
persistence.xml

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

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


[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
I have been fiddling a lot with teh debugger...
Its a lot of code to go through and I am under a massive amount of pressure on 
tim (Like YOUR time is not valuable!).
If someone knows what to look for I can supply some SVN credentials.

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

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


[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread petemuir
Put a breakpoint on line 1247 of Component.java; what is the value of the name 
parameter when it blows up (it will probably run this method more than once, I 
need the last one before it blows up)

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

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


[jboss-user] [JBoss Seam] - Do Hibernate Validators work when the JPA provider is not Hi

2007-04-22 Thread grettke_spdr
Do Hibernate Validators work when the JPA provider is not Hibernate?

I assume that they do work regardless of the JPA provider, but you know where 
that usually gets you.

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

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


[jboss-user] [JBoss Seam] - Re: Seam saying Datamodel saying row is Unavailable... WHY??

2007-04-22 Thread [EMAIL PROTECTED]
I will do that when I get back home tonight
I am at my OTHER full time job today.
I wore the mouse button out last time I debugged through trying to step through 
the code... It seems to call certain routines a LOT of times.


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

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


[jboss-user] [JBoss Seam] - Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
How do I disable all buttons and links before the whole page has rendered?
When the page renders; if I get in there and press a button before the page has 
completely rendered I get Seam to crash. 100% every time!



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

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


[jboss-user] [JBoss Seam] - Re: Conversation Id in custom servlet

2007-04-22 Thread dustismo
Yes, I am using the context filter (I am able to access seam components in the 
servlet).  I believe that my conversation id is 'cid' but I tried that as well 
with the same results. 

The conversations do not persist beyond the servlet access (i.e. there are not 
20 extra conversations listed on the debug.seam page).  Just that the next 
conversation id started is +20 of the previous conversation.  Perhaps this is 
expected?  Or is there someway I can find out why the cid is not getting picked 
up by the context filter?

thanks,
Dustin

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

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


[jboss-user] [Beginners Corner] - Re: Getting error while migrating from Jboss3.2.7 to Jboss 4

2007-04-22 Thread Sami Java Architect
http://www.programmingtutorials.com/ForumPostRead.aspx?fid=3&pid=3590

www.java2oracle.com

www.taragroup.ir/AboutTARA.aspx

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

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


[jboss-user] [Beginners Corner] - Re: Email Service in JBoss

2007-04-22 Thread Sami Java Architect

PERSONAL INFORMATION
Name Amirsam Bahador
E-Mail [EMAIL PROTECTED]
Web Site www.Java2Oracle.com
Phone (+9821) 88803001 , 88907802 
Cell Phone (+98912) 1106182
Address Pasdaran / Iran / Tehran
BD 13 Sep 1986

PRIVATE INFORMATION
Sport Tennis
Game CS , General , Age Of Empires II

CERTIFICATES
Sun Programmer Java 2
First Actor In Asia In 2002
Parsicom Developer
J2EE CG Java Developer

SOFTWARE SKILLS
Java 2 Standard Edition 
Java 2 Enterprise Edition 
Java 2 Micro Edition + WAP Solutions
Java Open Source Technology (JBOSS , APACHE , ORACLE , GOOGLE , ...)
Oracle Data Base

SOFTWARE SCOPE
eXtreme Programming
RUP Scope
BPR Solutions
ERP Design

EXPERIENCES 
IATA Enterprise Project in 2001-2002
J2SOS Web Base OS Project in 2002
Bank Queue Machine Project in 2003
Bank Management Project in 2003-2004  
Soheil Ajax IDE Project in 2004-2005
Mehregan Kish Project in 2005
Tara Project in 2005

University Teacher (Tehran) in  2003-Continue 
University Oracle And Java Group Manager in 2003-Continue   
Soheil Manager in 2003-Continue
Defa in 2004-Continue


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

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


[jboss-user] [JBossWS] - Re: String[] with SOAP... Please help me!

2007-04-22 Thread chui
Well, Thomas... I did what you told me, but I have no results =/
I had a look at the source of JBWS632 in testsuite, I have almost the same 
things. Here are the differences:

- The test's WSDL has its own namespaces and uses an "import" tag inside the 
schema. The namespaces I use are http://interfaces/jaws because JBossAS asked 
me for it when deploying the webservice. I also use 
http://interfaces/jaws/types, because I don't know what should I use as 
xmlns:tns and schema targetnamespace.

- The test's jaxrpc-mapping.xml is almost the same as mine, but JBWS632 
includes a String[][] result.

- Finally, JBWS632 testcase uses JSR-109 client, with JNDI lookup. I'm using 
configured DII... Both need jaxrpc-mapping.xml, so I think the problem wouldn't 
disappear.

Well, I'll try installing other JBossAS and use JBossWS 1.2.1. Hope that works, 
I'm crazy with this problem...

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Conversation Id in custom servlet

2007-04-22 Thread [EMAIL PROTECTED]
You could set a breakpoint in Manager.restoreConversation() and see if your 
conversation ID is in fact a) in the parameter list and b) has a correctly 
named parameter (should be equal to whatever Manager.conversationIdParameter is 
set to).

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

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


[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
Perhaps I could avoid the problem if we can delay sending the response till 
Seam has completely rendered the response? - Is this possible instead?



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

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


[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-22 Thread CptnKirk
[EMAIL PROTECTED] wrote : I prefer exactly the opposite, with a Search 
conversation scoped component that holds my prototype entity during the search 
conversation. Gives me a lot of control over what the user can select on the 
search screen and how I handle this in the backend:

I really like your search controller.  I especially wish Seam's generic DAO (or 
maybe Query) construct came with *ByExample() methods.

The problem I usually face, and maybe search is a bad example, is the necessary 
reuse of the entities in other controllers.  Lets take profile or preferences.  
Maybe our users are able to set the default number of entries per page in some 
profile entity.  We could have a ProfileController.profileEntity type system 
(ok, an EntityHome would probably work well here, whatever just an example).  
But then what if you want to access some profileEntity properties in your 
UserSearchController.  In the past there was value binding expression ugliness 
and you had to couple your ProfileController to your UserSearchController 
because it was the accessor.  Seam allows me to avoid all of that baggage.

Unfortunately, I seem to get bitten by this regularly.  It seems like no sooner 
do I define a UserSearch like yours, than a PM wants to reuse the entity used 
in this search in some other area of the application (without re-entering the 
data of course).  This is why I generally prefer to separate my entity creation 
logic from my entity manipulation and business logic.  I still love the 
UserSearch example, I'd just pass in the exampleUser along with the other 
values.

On the flip side, I'd love to learn something new.  If I could be achieving my 
goals in a better way, please set me straight.

What my original post was trying to get at was that regardless of whether 
exampleUser is passed in or is part of the UserSearch component, the 
exampleUser is not retrieved via a call to UserHome.instance.  Where UserHome 
is created for the sole purpose of providing the exampleUser.  This is what I 
think the original thread creator was doing, and I think we can both advise 
against using EntityHome in such a way.


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

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


[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread CptnKirk
You might be able to set the default Facelet or JSP flush size to something 
large enough to keep everything in memory until your entire paged had finished 
rendering.  However you apparently have large pages that take a long time to 
render, so it's probably not desirable to do this.

If you're able to reproduce the problem, and it sounds like you can, you might 
want post it here or in JIRA.  Someone may find a way of at least preventing 
Seam from crashing.

Or you could take a look at the exception type, and supply custom navigation to 
an error page asking your impatient users to allow the page to fully render 
before they start clicking on stuff. :)

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

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


[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
Perhaps I can explain why it takes so long to render (although if you had a 
busy server you could get it for any site... anyhow!).

I have a main screen (Wizard) that has about 7 steps you have to do.

I was required to go "free flight" mode in that any step of the wizard could be 
done at any time... so teh main page has ticks/crosses to show how you are 
progressing.

Each step, in itself, can contain a number of steps (this got me round using 
javascript to show/hide bits which really messes up JSF and is really against 
the JSF paradigm anyhow!). 

So I shield parts of the monolith by using s:fragment...

JSF seems to still render all the bits shielded by s:fragments anyhow!! So I 
have The Mother of all Pages being rendered.. pulling in about 14 other .xhtml 
pages built on top of a couple of nested templates!

:(

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

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


[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
Thanks for the suggestion CptnKirk. The more suggestions the merrier.

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

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


[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
If you want to see the problem hop over to 
http://gaming.homeip.net:8080/clickstream

go to set up an advertising campaign and click ANY steps on the left hand side.

While the page is still rendering click any of the buttons that comes up...

you get (something like):

/WEB-INF/pages/advertisingCampaignWizard/sideProgressMenu.xhtml @28,66 
rendered="#{advertisingCampaignController.adTypeComplete}": Exception getting 
value of property adTypeComplete of base of type : 
org.javassist.tmp.java.lang.Object_$$_javassist_7

IF you wait till the page has COMPLETELY finished (This really means 
COMPLETELY!) then hit a button it works better!!

The whole site is a mockup... so ignore the bad grafix!

Also,  I have not joined the dark site... its not for JunkMail, Nigerian Scams, 
etc. of any kind.

:)


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

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


[jboss-user] [JBoss Messaging] - Re: Too many open files

2007-04-22 Thread Hoffman462
I have seen this in the past as well.  The problem for us was not related to 
Jboss at that time.  It occurred on a Linux Box, running the 2.4 Kernel.

Our work around was:

1) Become root

2) Execute ulimit -n 8192
This may also be any other large number.  The total number of open file handles 
is very large for even normal machines.

3) su username 
(Where this is the user that runs your jboss instance, and start the server).

While I don't think this really fixed the problem; it allowed us  to continue.



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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.SpyJMSException: Cannot send a message to t

2007-04-22 Thread Hoffman462
Hi , very similar results on our JMS databases during high loads.

The JMS database typically runs fine under normal times.
We actually use MySQL  for our JMS database; and see the same: "Cannot send a 
message to the JMS server" / SpyJMSExcetion.

Did you find any work around for PostreSQL?



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

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


[jboss-user] [JNDI/Naming/Network] - JNDI Lookup issue

2007-04-22 Thread wspiteri
I have deployed a new EAR application to both Jboss AS version 5.0.0 Beta2 and 
4.0.GA and I am getting a Connection Exception thrown (see below) when the web 
application is starting up.  

2007-04-23 11:10:31,592 ERROR [org.springframework.web.context.ContextLoader] 
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'clientAccountMgmtEJBLocal' defined in ServletContext resource 
[/WEB-INF/applicationContext-xfire.xml]: Invocation of init method failed; 
nested exception is javax.naming.CommunicationException: Receive timed out 
[Root exception is java.net.SocketTimeoutException: Receive timed out]
Caused by: 
javax.naming.CommunicationException: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out]
at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1302)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1417)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at 
org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:124)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:122)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:147)
at 
org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:90)
at 
org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:101)
at 
org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.refreshHome(AbstractSlsbInvokerInterceptor.java:104)
at 
org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.afterPropertiesSet(AbstractSlsbInvokerInterceptor.java:91)
at 
org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean.afterPropertiesSet(LocalStatelessSessionProxyFactoryBean.java:84)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
at 
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)


The actual EJB itself is starting up fine, and have performed a remote call to 
confirm this.  It seems that when Spring is doing a JNDI lookup of the EJB it 
is getting the connection time out issue.  Below is the spring configuration 
that I am using.


  | 
  | 
  | 

Any help would be appreciated.

Thanks


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

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


[jboss-user] [JBoss Portal] - Failing to login using LDAP UserModule

2007-04-22 Thread maph2880
I am trying to configure LDAP for jboss portal BETA1.  I am attempting to login 
but the site returns a generic login exception when using valid credentials.  
There are no exceptions generated in the log.

I have configured per the instructions at..

http://cruisecontrol.jboss.com/cc/artifacts/jboss-portal-latest-doc/referenceGuide/html/ldap.html

I am using the LDAPUserModuleImpl user module..  For the user module, i have 
specified the common properties for userCtxDN and uidAttributeID.  For the Role 
and Membership modules, I am using DB.  I have the server configured to use 
Mysql.  (when i use the DB specific usermodule, I can login using user 
credentials from the DB so the DB is configured correctely)  In the DB the user 
mpetteys is assigned the roles for Admin and User.

When I attempt a login i see the following messages are logged..  

2007-04-22 07:34:13,680 DEBUG 
[org.apache.catalina.authenticator.FormAuthenticator] Authenticating username 
'mpetteys'
2007-04-22 07:34:13,686 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] findUserByUserName(): 
username = mpetteys
2007-04-22 07:34:13,686 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] Search filter: 
(uid=mpetteys)
2007-04-22 07:34:13,686 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] Search filter: 
(uid=mpetteys)
2007-04-22 07:34:13,705 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] 
user uid: cn=Matt Petteys,ou=people,dc=yellowguppy,dc=com
2007-04-22 07:34:13,705 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] 
user dn: cn=Matt Petteys,ou=people,dc=yellowguppy,dc=com
2007-04-22 07:34:13,715 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] findUserByUserName(): 
username = mpetteys
2007-04-22 07:34:13,715 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] Search filter: 
(uid=mpetteys)
2007-04-22 07:34:13,715 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] Search filter: 
(uid=mpetteys)
2007-04-22 07:34:13,736 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] 
user uid: cn=Matt Petteys,ou=people,dc=yellowguppy,dc=com
2007-04-22 07:34:13,736 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] 
user dn: cn=Matt Petteys,ou=people,dc=yellowguppy,dc=com
2007-04-22 07:34:13,739 DEBUG [org.apache.catalina.core.ApplicationDispatcher] 
servletPath=/error.jsp, pathInfo=null, queryString=null, name=null
2007-04-22 07:34:13,739 DEBUG [org.apache.catalina.core.ApplicationDispatcher]  
Path Based Forward
2007-04-22 07:34:13,740 DEBUG [org.apache.jasper.servlet.JspServlet] JspEngine 
--> /error.jsp
2007-04-22 07:34:13,740 DEBUG [org.apache.jasper.servlet.JspServlet] 
ServletPath: /error.jsp
2007-04-22 07:34:13,740 DEBUG [org.apache.jasper.servlet.JspServlet]
PathInfo: null
2007-04-22 07:34:13,740 DEBUG [org.apache.jasper.servlet.JspServlet]
RealPath: 
/opt/jboss-portal-2.6-BETA1/server/default/./deploy/jboss-portal.sar/portal-server.war/error.jsp
2007-04-22 07:34:13,740 DEBUG [org.apache.jasper.servlet.JspServlet]  
RequestURI: /portal/error.jsp
2007-04-22 07:34:13,740 DEBUG [org.apache.jasper.servlet.JspServlet] 
QueryString: null

I see valid bind requests for LDAP but there are not queries sent to mysql to 
lookup role associations.  There is no apparent reasons why the authentication 
fails.  Any ideas..?  

The only weirdness that i have found in the error messages..

007-04-22 07:34:13,736 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] 
user uid: cn=Matt Petteys,ou=people,dc=yellowguppy,dc=com
2007-04-22 07:34:13,736 DEBUG [org.jboss.portal.identity.ldap.LDAPUserModule] 
user dn: cn=Matt Petteys,ou=people,dc=yellowguppy,dc=com

My ldap entries look something like..

# Matt Petteys, people, yellowguppy.com
dn: cn=Matt Petteys,ou=people,dc=yellowguppy,dc=com
sn: Petteys
givenName: Matt
cn: Matt Petteys
gecos: Matt Petteys
uid: mpetteys
userPassword:: x=

As you can see, i suspect the uid value should be mpetteys..  This appears to 
be caused by..

http://anonsvn.jboss.org/repos/portal/tags/JBoss_Portal_2_6_0_BETA1/identity/src/main/org/jboss/portal/identity/ldap/LDAPUserModule.java

Note in..  LDAPUserImpl createUserInstance(Attributes attrs, String dn)

The LDAPUserImpl is initialized using the dn in the third parameters which 
represents the uid..

ldapu = new LDAPUserImpl(dn,getIdentityContext(), dn);

There is a commented out initializer using the uid attribute in this function..

//ldapu = new LDAPUserImpl(dn,getIdentityContext(), uida.get().toString());

I don't know if this is related..?

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

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


[jboss-user] [JBoss Seam] - Can not persist EJB3 Timer since Jboss 4.2.0cr2 + seam from

2007-04-22 Thread gena777
Hi, while i'm trying to persist one start and one end timer, i get following 
exception. Some details on the unit of work: I persist my object (object graph) 
at the end of long running conversation with extended persistent context. Then 
i do em.flash() and (if all succeeded)  i wish to schedule two timers (for one 
execution in a future). Then i get this exception: 


  | 03:07:07,448 ERROR [STDERR] 
org.jboss.resource.connectionmanager.JBossLocalXAException: Trying to start a 
new tx when old is not complete! old: < 131075, 29, 27, 
1--3f57feec:1029:462bf231:671-3f57feec:1029:462bf231:6f1
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:886)
  | 03:07:07,464 ERROR [STDERR] at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:701)
  | 03:07:07,464 ERROR [STDERR] at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:446)
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:773)
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:564)
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.insertTimer(GeneralPurposeDatabasePersistencePlugin.java:199)
  | 03:07:07,464 ERROR [STDERR] at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.insertTimer(DatabasePersistencePolicy.java:120)
  | 03:07:07,464 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 03:07:07,464 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 03:07:07,464 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 03:07:07,464 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 03:07:07,479 ERROR [STDERR] at $Proxy30.insertTimer(Unknown Source)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(TimerServiceImpl.java:256)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(TimerServiceImpl.java:222)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.ejb3.timerservice.jboss.TimerServiceFacade.createTimer(TimerServiceFacade.java:61)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.seam.core.Dispatcher.schedule(Dispatcher.java:224)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.seam.core.Dispatcher.scheduleInvocation(Dispatcher.java:205)
  | 03:07:07,479 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 03:07:07,479 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 03:07:07,479 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 03:07:07,479 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:597)
  | 03:07:07,479 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | 
The problem is, it did work on jboss 4.0.5 with seam 1.2.0. Could someone 
please explain, if there are some changes  in the implementation or where is my 
error. 

Many thanks,

Gena

View the original post : 
http://www.jboss.com/

[jboss-user] [Security & JAAS/JBoss] - Re: JAAS integration w/ 3rd party webservice stack

2007-04-22 Thread sim-smith
Hi saspad,

I think that the answer is in fact even easier, using standard JAAS:

LoginContext loginContext = new LoginContext(JAAS_MODULE_NAME, new 
UsernamePasswordHandler(username, passwordCharArray));
loginContext.login();
try {
// Do stuff here...
} finally {
loginContext.logout();
}

The UsernamePasswordHandler is a simple JBoss class in 
org.jboss.security.auth.callback, and LoginContext is in 
javax.security.auth.login.

This will use the standard JBoss authentication stuff including your configured 
LoginModules.

Cheers,

Mark

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

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


[jboss-user] [JBoss Seam] - Re: Do Hibernate Validators work when the JPA provider is no

2007-04-22 Thread thejavafreak
Why don't you try it out first.

If it succeeds, you can share with the others here

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

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


[jboss-user] [Beginners Corner] - Http 500 Internal Server Error

2007-04-22 Thread calsonli
Could anyone provides me some solution?

I encountered "HTTP 500 internal server error" while testing a jsp that 
forwards to an error page whenever user inputs a wrong data type on a web form 
to sum 2 inputted numbers.The application server version I am using is 
JBoss 4.0.5.GA application server.  

My Calculate3_html.jsp file is:

  | Calculator
  | 
  | 
  | <%@ include file="Calculate3Header.html" %>
  | Enter 2 nos. and click the Calculate button.
  | 
  | 
  | 
  | 
  | 
  | 
  |  

My Calculate3.jsp file is:
<%@ page language="java"  pageEncoding="UTF-8" errorPage="Calculate3Error.jsp" 
%>
  | 
  | <%! 
  | // No try/catch for NumberFormatException
  | private double toDouble(String value) {
  | return Double.parseDouble(value);
  | }
  | %>
  | 
  | <%
  | double value1 = toDouble(request.getParameter("Value1"));
  | double value2 = toDouble(request.getParameter("Value2"));
  | double sum = value1 + value2;
  | %>
  | 
  | 
  | 
  |   
  |   
  |   
  |   
  |   
  | <%@ include file="Calculate3Header.html" %>
  | 
  | 
  | The sum of <%= value1 %> and <%= value2 %> is <%= sum %>
  |   
  | 

My Calculate3Header.html file is:
A Simple Calculator (Exercise 3)

My Calculate3Error.jsp file is:

<%@ page language="java"  pageEncoding="UTF-8" isErrorPage="true" %>
  | 
  | 
  | 
  |   
  |   
  |   
  |   
  | 
  | <%@ include file="Calculate3Header.html" %>
  | 
  |
  | 
  | Calculate3Error.jsp reported the following error:
  | <%= exception %>
  | 
  | Click here to try again
  |   
  | 


Thank you.

Calson


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

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


[jboss-user] [JBoss jBPM] - Re: Make a

2007-04-22 Thread Light_Stalker
This notion have appears in my mind in 2005,but unfortunatelly I have no idea 
untill now,Sorry! And the Jbpm is still not a product untill it include another 
two tools: custom process and custom form,both of the tools based on web,that 
means design by b/s schema.

this's mac from china:)
My Msn:[EMAIL PROTECTED] Maybe we could make firends.
Regards.

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

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


[jboss-user] [JBoss Seam] - Re: HowTo: When going to a page to enter data, pull from db

2007-04-22 Thread [EMAIL PROTECTED]
The code I've posted can be found in Seam CVS, examples/wiki/. It's not trivial 
to set up (readme.txt) but it's almost alpha stage now :)


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

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


[jboss-user] [JBoss jBPM] - Re: questions about GPD

2007-04-22 Thread Light_Stalker
I've got this notion in 2005,i try to read about the source of GPD ,it's really 
tough to me because i am not familure with the eclipse plugin.
My idea transmit the gpd to some application base on swing such thing,May be 
this's difficulty,anyone can give some idea to me?:)

May be we could make firends!:)
MyMSN:[EMAIL PROTECTED]

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM books

2007-04-22 Thread Light_Stalker
Tutorial-like book would be popular just like the tutorial on SUN's site .But i 
hope the book would be talk about the detail of JBPM,not simply to teach pupil 
how to use JBPM,I have read about all the document this site contain,I want 
more:)not only a developer want but a designer want.

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

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


[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
Caused by: org.jboss.seam.NoConversationException: no long-running conversation 
for @Conversational bean: advertisingCampaignController

So my guess would be that the conversation id is not propagated into the click. 
Don't know exactly why that would happen. I also recommend that you turn off 
client-side state saving, because the megabytes of viewroot state that you 
serialize to the browser into the hidden form fields is most likely what is 
causing the flushing of the render buffer. (I don't know where that buffer is 
and how to tune it though.)


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

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


[jboss-user] [JBoss Seam] - Re: Disable butons till the screen renders

2007-04-22 Thread [EMAIL PROTECTED]
There are a LOT of other exceptions before the one listed on the screen.
I will try your suggestion and hope it works...
Now need to RTFM to find out how!

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

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


[jboss-user] [JBoss Seam] - Seam src on SVN

2007-04-22 Thread thejavafreak
Dear all,

I saw last time on JIRA that Seam will move to SVN. When will this be 
implemented? I think it's a good thing for me if Seam move to SVN repository, 
since I can not connect to CVS repo because my office block the CVS from the 
proxy. 

Thanks in advance

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

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


[jboss-user] [JBoss Seam] - orm.xml causes No active session context

2007-04-22 Thread liudan2005
I have a java SWT client that accesses my ejb remotely. If orm.xml is packed 
into my ejb.jar, I keep getting No active session context when trying to access 
my ejb method remotely.

  | Caused by: java.lang.IllegalStateException: No active session context
  | at org.jboss.seam.security.Identity.instance(Identity.java:106)
  | at 
org.jboss.seam.security.EntitySecurityListener.postLoad(EntitySecurityListener.java:24)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.hibernate.ejb.event.ListenerCallback.invoke(ListenerCallback.java:31)
  | at 
org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:78)
  | at 
org.hibernate.ejb.event.EntityCallbackHandler.postLoad(EntityCallbackHandler.java:71)
  | at 
org.hibernate.ejb.event.EJB3PostLoadEventListener.onPostLoad(EJB3PostLoadEventListener.java:33)
  | at 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:201)
  | at 
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:729)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  | at org.hibernate.loader.Loader.doList(Loader.java:2220)
  | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
  | at org.hibernate.loader.Loader.list(Loader.java:2099)
  | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:66)
  | at 
com.example.admin.bo.WebServiceHandlerImpl.downloadData(WebServiceHandlerImpl.java:136)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:98)
  | at 
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(

[jboss-user] [JBoss Seam] - Re: orm.xml causes No active session context

2007-04-22 Thread liudan2005
Sorry I should say it's cause by "EntitySecurityListener", Here is my content 
in orm.xml

  | 
  | http://java.sun.com/xml/ns/persistence/orm";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm 
http://java.sun.com/xml/ns/persistence/orm_1_0.xsd";
  |  version="1.0">
  |  
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - Re: @SerializedConcurrentAccess not preventing concurrent ac

2007-04-22 Thread vkaushik_610
I want to know about the performance hit of this flag : 
@SerializedConcurrentAccess

Regards
Vinay

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

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


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

2007-04-22 Thread vtysh
You should write assignment handler for a task node. Try to use some variable 
in contextInstance to store name of necessary actorId for handled task.

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

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


[jboss-user] [JBoss Seam] - Re: Seam src on SVN

2007-04-22 Thread [EMAIL PROTECTED]
We are hanging out for this to happen also.  I think someone from JBoss IT 
recently said they'd be working on it, but I haven't heard anything else.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: JNDI Lookup issue

2007-04-22 Thread jaikiran
Try adding the jndi environment details to the configuration file:



  | 
  | ..
  | 
  | 
  | 
  | org.jnp.interfaces.NamingContextFactory
  | jnp://localhost:1099
  |  
  | 
  | 
  | ...
  | 

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

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


[jboss-user] [Beginners Corner] - Re: Http 500 Internal Server Error

2007-04-22 Thread jaikiran
You will have to look at the server.log (in %JBOSS_HOME%/server/default/log 
folder) file to see if any exceptions are being thrown.

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

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


[jboss-user] [Beginners Corner] - Re: SINGLE ejb jar deploy gives NoClassDefFoundError!

2007-04-22 Thread jaikiran
You will have provide more details about your application and also the 
exception stacktrace that you are seeing

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: packaging a war file with struts 1.3.8 for jboss 4.0.4

2007-04-22 Thread jaikiran
anonymous wrote : and also copy commons-logging file from server jboss

Dont maintain any commons-logging file in your application. Its already present 
in the JBoss' lib folder and will be picked up for your application.

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

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


[jboss-user] [EJB/JBoss] - Re: java.lang.ClassCastException

2007-04-22 Thread jaikiran
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions. 
Specifically, the jmx-console method mentioned over there

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

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


[jboss-user] [JBoss Seam] - Out of Memory Leaks

2007-04-22 Thread yj4jboss
Hi All,
I have a web application which is in production and uses the following 
technologies :


EJB 3.0 
Hibernate
Seam
JSF
Facelets
Ajax4JSF

MySQL 5.0 



I am using JDK 1.5.0_09


I have around 73 SFSB which are not using conversations and 78 SLSB  and 43 
Business objects.


In production, there are four users which are connected simultaneously. The 
HTTP and EJB Session timeout is set to 4 hours .


However, the server has to be restarted at least twice a day due to OUT OF 
MEMORY leaks associated to Permgen space . I was getting this problem 
during development previously but increasing the permgen space to 256M solved 
this issue ...


I am not sure that implementing conversations only would solve my problems  
Can anyone have other suggestions on what could be wrong. This is really posing 
a huge problem for me 



Cheers,
Jankee Yogesh
Software Developer
M-ITC LTD












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

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


[jboss-user] [JBoss jBPM] - Mail in jPDL

2007-04-22 Thread sushmasitaram
The email support provided by JBoss jBPM jPDL 3.2, has a code like this in the 
documentation:


  


The problem is, that it is not recognized and that part of the code is simply 
ignored. No error is thrown either. It does not seem to work. Could anyone pls 
help me regarding this? 

If possible pls provide me with a sample code which would be of great help. 


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

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


[jboss-user] [Remoting] - Re: Remote connection over Http.

2007-04-22 Thread [EMAIL PROTECTED]
There doesn't seem to be any Remoting code involved here.  Why not try the 
tomcat forum: 

http://www.jboss.com/index.html?module=bb&op=viewforum&f=50

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

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


[jboss-user] [Remoting] - Re: Unable to connect to server using SimpleClient.java

2007-04-22 Thread [EMAIL PROTECTED]
Hi Rajesh,

It looks like you changed build.xml to set the host and port for the client.  
Are you sure you changed the  target as well?

-Ron

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Difference between 'java: Namespace' and 'Global JNDI Na

2007-04-22 Thread jaikiran
Can you post the -ds.xml contents and also the code from where you are looking 
up the datasource? Where does this lookup code belong - servlet/jsp?


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

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


[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)

2007-04-22 Thread grdzeli_kaci
hi all, 
:) i have some news :) i tried to divide my program to some parties, and i 
recount my amount of needed persistable records and i got 1000 per second, 


after some performance configuration i got 400 record per second using Thread 
into server side, 

i have inserted 10,000 record in 28 seconds using 50 Threads
i have inserted 10,000 record in 51 seconds using 5 Threads


hi snau2005
i did Threads ad you say,



hi oskar.carlstedt,
OK i have discuss my issue to my chief and i will have two powerful server for 
my program, one will be for Oracle Database (with 8 CPU, 32 GB Memory, SunOS) 
and second will be for my JBoss Application Server,

know if on the same machine i got 400 record per second, is it possible after 
divide this task i got 1000 record per second ??

i have not two Development Server for Testing :(

oooh and am will not be "alone" on my database server, some users may be using 
some another schemas or database users, my JBoss User is not only one user fir 
my datrabase,



ok, if i got 1000 record per second it is enough for me,

i don't want stored procedures and some other things, if it is possible,
i tried to have good design pattern ;) :) if it is possible :)

oo yes, i have never use JBoss Cluster, can it increase performance ?
also i'm just trying to optimize my database table, but theres nothing to 
performance persist into table, for select there is so many performance tuning 
options (Query Hints, indexes, partitions and so on), but for insert i don't 
know haw i can increase performance on database level








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

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


[jboss-user] [Remoting] - Re: MasterServerSocket with VirtualServerSocket

2007-04-22 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | What kind of configuration can be passed into VirtualServerSocket  
constructor you mentioned? 
  | 

In the normal course of events, this configuration map would be the one that 
the Connector is configured with.

anonymous wrote : 
  |  I'd like to have a kind of listener on VirtualServerSockets  to observe 
new coming connections without blocking.
  | 

I see, you want a kind of "virtual Selector".  The multiplex transport doesn't 
have that facility.  An NIO-like virtual socket would be a nice project, but I 
don't think there will be much of a demand for it.  Of course, if you are 
interesting in contributing to the Remoting project, you would certainly be 
welcome.



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

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