[jboss-user] [JBoss Seam] - Upgrading to MyFaces1.2 in Jboss 4.0.5/Seam 1.2.1 setup - Is

2007-09-20 Thread milli
I was wondering if MyFaces could be upgraded to 1.2 in Jboss 4.0.5/Seam 1.2.1 
setup. I see threads and document discussing the upgrade to JSF RI 1.2 and I 
was able to do it. But when I tried to upgrade to MyFaces 1.2 I got errors. So 
I just wanted to check if it is possible. I googled and found MyFaces 1.2 
requires JSP 2.1 and therefore may not work in JBoss 4.0.5. Doesn't JSF RI 1.2 
require JSP 2.1?

Thanks.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 4.2.1.GA StartUp Problem with tagged MappedSupercl

2007-09-20 Thread Darquerus
No one with the same problem?
No one with an idea, how to solve this problem?

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

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


[jboss-user] [JBoss Seam] - Re: Page parameters - change value

2007-09-20 Thread cdanielw
MyFaces 1.2 requires a Servlet 2.5 container (I.e. Tomcat 6). JBoss 4 bundles 
Tomcat 5.5 right? I'm not using JBoss myself so I might be wrong here.

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

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


[jboss-user] [JBoss Seam] - Re: Conversation related error (UnsupportedOperationExceptio

2007-09-20 Thread wise_guybg
What version of Seam are you using? Have you tried with 2.0.0.CR1?

I looked around for the usages of Manage.currentConversationIdStack and I don't 
think an UnmodifiableList is assigned anywhere. Do you make any modifications 
of values related to conversations?

anonymous wrote : I also assigned a different conversation id with its begin 
method.
What do you mean by this? Can you post your code?

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

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


[jboss-user] [EJB 3.0] - Re: Simplest possible stateless bean

2007-09-20 Thread wolfc
Renen wrote : anonymous wrote : How would you like to reference your bean 
from a client (or servlet)? 
  | 
  | The EJBs are accessed from JSP pages, tag libraries, MDBs and from other 
EJBs (all of which are stateless session beans). All these objects exist within 
JARs or WARs inside a single ear running on a seperate JBOSS instance.
  | 
  | Once implemented, the EJBs won't change very fast. Although we do add MDBs 
at a steady rate.
Misunderstanding. I was talking about how would you like to code your client, 
what API did you have in mind?
Renen wrote : I'll hear that. Although, after mulling it over for bit, does 
it make any difference if JNDI is overpopulated? Are those performance concerns 
material against the singificantly increased levels of complexity?
Let's take the shopping cart again. It could be bound on 
java:com.acme.ShoppingCart/local. But where would it be bound if I deploy a 
second shopping cart?
So I would get: java:com.acme.ShoppingCart/deploy2.jar/local?
I don't see a way around putting extra artifacts in the name.

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

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


[jboss-user] [JBoss Portal] - Re: ActionRequest.sendRedirect doesn't work properly

2007-09-20 Thread [EMAIL PROTECTED]
Yes

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

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


[jboss-user] [JBoss Portal] - Re: Portal Structure Export / Looking for tools.

2007-09-20 Thread k3nnymusic
I am intrested about this topic too. I am using jboss portal in corporation and 
now writing avery descriptors *.object manual are very slow. Second important 
thing which I looking for is tool for debbuging portlets.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - org.apache.openjpa.persistence.ArgumentException: Could not

2007-09-20 Thread kumanan_jboss
Hi,

  I am getting exception in the following line of code. 

userData = (em.createQuery(select u from Users u where u.email= 
?1).setParameter(1, [EMAIL PROTECTED])).getResultList();

userData   : is a List object, 
em  : is a EntityManager object
Users : is a table

Exception Message


Exception caught is : 4|true|0.9.7 
org.apache.openjpa.persistence.ArgumentException: 
Could not locate metadata for the class using alias Users.

Persistent.xml
=
persistence-unit name=userDatabase transaction-type=RESOURCE_LOCAL 
  org.apache.openjpa.persistence.PersistenceProviderImpl
  exclude-unlisted-classesfalse/exclude-unlisted-classes
   
  
  
  
  
   
/persistence-unit 
 

   Please let me know if someone had already faced this issue and found 
a resolution for it.

- Kumanan

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

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


[jboss-user] [JBoss Portal] - Re: Portal Structure Export / Looking for tools.

2007-09-20 Thread [EMAIL PROTECTED]
Soon we will better handle the mis-written configuration files, so you will 
always write correct xml files.

Again if someone want to start working on scripts like this that would be great 
since it's not a priority for us at the moment and days are only 24 hours long 
:)

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: org.apache.openjpa.persistence.ArgumentException: Could

2007-09-20 Thread kumanan_jboss
Persistent.xml is not fully copied. Please find below the complete lines.


persistence-unit name=userDatabase transaction-type=RESOURCE_LOCAL 
  org.apache.openjpa.persistence.PersistenceProviderImpl
  exclude-unlisted-classesfalse/exclude-unlisted-classes
   
  
  
  
  
   
/persistence-unit 
 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: org.apache.openjpa.persistence.ArgumentException: Could

2007-09-20 Thread kumanan_jboss
Again the same problem while copying persistence.xml.  Let me copy the 
properties section alone noe.

 
  
  
  
  
   

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: org.apache.openjpa.persistence.ArgumentException: Could

2007-09-20 Thread kumanan_jboss
!-- 
  
  
  
  
   --

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

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


[jboss-user] [JBoss Portal] - Re: More then one jboss portal servers using the same portal

2007-09-20 Thread [EMAIL PROTECTED]
It depends what you do, but if you let your develper delete tables and such you 
will wnd up with troubles.

For developers, it's usually better to let them play with a local JBoss AS and 
Hypersonic and move to a staging server once in a while to check against the DB 
that will be used in prod.

In production it's different, you set up your JBoss AS to work on a cluster 
with a single datasource. it is designed for

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

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


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

2007-09-20 Thread [EMAIL PROTECTED]
In your listener you wrote:

if (nodeName.equals(test1-window)  event instanceof WindowActionEvent)

But you are listening on test2-window,
so your code inside is never called.

With a debugger you would have seen that easily.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Unwanted Deployment

2007-09-20 Thread sabagh
thank you very much - I was under the impression that the ear file have to be 
located under the deploy directory of JBOSS

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

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


[jboss-user] [JBoss Seam] - Re: Conversation related error (UnsupportedOperationExceptio

2007-09-20 Thread rlao
I am using Seam 1.1.5 I believe

There are two ways to enter this page and it entered via 2 different methods, 
each with its own @BEGIN tag to set the conversation id.  can I do so?

@Begin(id=#{param.conversationId},join=true)
public String begin() {...}


@Begin(id=#{detailsearch.ref_id},join=false)
public String showAccount() {...}


Here is the whole trace:

Caused by: java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableList.set(Collections.java:1157)
at 
org.jboss.seam.core.Manager.updateCurrentConversationId(Manager.java:112)
at 
org.jboss.seam.interceptors.ConversationInterceptor.redirectToExistingConversation(ConversationInterceptor.java:83)
at 
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:46)
at sun.reflect.GeneratedMethodAccessor177.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at 
com.ga.riskapp.usermgmt.GALoggedInInterceptor.checkLoggedIn(GALoggedInInterceptor.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at 
org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:29)
at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at 
org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at 
org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:39)
at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at 
org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:148)
at 
org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:145)
at 
org.jboss.seam.intercept.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:80)
at 

[jboss-user] [EJB 3.0] - EJB 2.1 and EJB 3 in same jar

2007-09-20 Thread huuskart
I'm trying to deploy on JBoss 4.2.1.GA a jar (in ear) that contains EJB 2.1 and 
EJB 3 components.

However, only the EJB 3 components are deployed. There are no errors or any 
other indication that JBoss even thinks that the jar contains any EJB 2.1 
components.

I have understood that EJB 3 + EJB 2.1 deployment from the same jar should 
work. However, is there some configuration knob that I need to turn on (in 
persistence.xml or ejb--jar.xml) in order for this to work. Or do I need to 
annotate even the EJB 2.1 modules with some annotation in order for them to be 
picked up?

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

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


[jboss-user] [JBoss jBPM] - Re: Lock problems after migrating to JBPM 3.2 and Seam 2.0

2007-09-20 Thread chawax
What you say could have been a reason for my problem, but when I remove 
process.signal() it doesn't leave the node :( So it looks like signalling is 
still needed. Anyway, I couldn't understand how it could work : you can leave a 
node on many transitions, so you have to tell which one the process should take 
and you can do it using process.signal(). But what you say is true for an 
action binded to a transition. Thanks anyway, you gave me hope a few minutes lol

By the way, do you see something something in my jbpm.cfg.xml file ?

jbpm-configuration
  |   jbpm-context
  | service name=persistence
  |factory
  |   bean class=org.jbpm.persistence.db.DbPersistenceServiceFactory
  |  field name=isTransactionEnabledfalse//field
  |   /bean
  |/factory
  | /service
  | service name=message 
factory=org.jbpm.msg.db.DbMessageServiceFactory /
  | service name=scheduler 
factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory /
  | service name=logging 
factory=org.jbpm.logging.db.DbLoggingServiceFactory /
  | service name=authentication 
factory=org.jbpm.security.authentication.DefaultAuthenticationServiceFactory 
/
  | service name=tx factory=org.jbpm.tx.TxServiceFactory /
  |   /jbpm-context
  | /jbpm-configuration

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

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


[jboss-user] [JBoss Portal] - Re: Portal Structure Export / Looking for tools.

2007-09-20 Thread [EMAIL PROTECTED]
k3nnymusic, If you have many objects to create it means that you have some 
structure somehow, writing an XML file can be made by any tool, i don't 
understand how your problem is related. You will not used the interface to 
create 1000s of objects anyway,

For your second concern, a portlet is a Java app, any debugger for Java app 
will do, there is nothing specific.

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

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


[jboss-user] [JBoss jBPM] - get processinstance with task id

2007-09-20 Thread galvino
hi every body, 
i want to get a processinstance by using a task id, 
i am using:

  | public ProcessInstance getProcessInstance(String taskId){
  | jbpmContext=jbpmConfiguration.createJbpmContext();
  | try{
  |  taskInstance=this.getTaskinstanceByID(taskId);
  |  
processInstance=taskInstance.getTaskMgmtInstance().getProcessInstance();   
  |  System.out.println(\n  id processinstance:   
+processInstance.getId());
  | //   
processInstance=graphSession.getProcessInstance(processInst.getId());
  | }catch(Exception exception){exception.printStackTrace();}
  | finally{
  | jbpmContext.close();
  | }
  | return processInstance;
  | }
  | 

where :


  | public TaskInstance getTaskinstanceByID(String taskInstanceId){
  | try{
  | jbpmContext=jbpmConfiguration.createJbpmContext();
  | taskInstance = 
jbpmContext.getTaskInstance(Long.parseLong(taskInstanceId));
  | }finally{
  | jbpmContext.close();
  | }
  | return taskInstance;
  | }
  | 

there is an error when it execute:

  | processInstance=taskInstance.getTaskMgmtInstance().getProcessInstance();
  | 

error is:


  | GRAVE: could not initialize proxy - the owning Session was closed
  | org.hibernate.LazyInitializationException: could not initialize proxy - the 
owning Session was closed
  | at 
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:60)
  | at 
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
  | at 
org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150)
  | at 
org.jbpm.taskmgmt.exe.TaskMgmtInstance$$EnhancerByCGLIB$$6d252382.getProcessInstance(generated)
  | at 
com.savoi.business.TaskBusiness.getProcessInstance(TaskBusiness.java:80)
  | at 
com.savoi.actions.ValidateAction.performAction(ValidateAction.java:48)
  | at com.savoi.actions.BaseAction.execute(BaseAction.java:17)
  | at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
  | at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
  | at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
  | at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
  | 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(Unknown Source)
  | 
  | 



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

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


[jboss-user] [JBoss jBPM] - Re: Version compatibility issues between JBPM 3.1.3 and JBos

2007-09-20 Thread kukeltje
please post it within 'code' tags (see under the preview button)

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

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


[jboss-user] [JBoss Seam] - Re: Conversation related error (UnsupportedOperationExceptio

2007-09-20 Thread wise_guybg
I see no problem in having two @Begin.

Where is GALoggedInInterceptor declared to be used? Is it in components.xml? 
Can you paste some code?

So it's GAAccountDetailsAction.showAccount() that gets invoked. Obviously the 
@Begin here is causing problems. I don't know why 
redirectToExistingConversation() is getting called while you have join=false.

Why don't you upgrade at least to Seam 1.2.1.GA? There might be a fix for the 
problem you have...

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

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


[jboss-user] [JBoss Messaging] - cant control security in a jms queue

2007-09-20 Thread anderslinden
Hello!

I am running jboss-4.2.1.GA and I have a jms queue which I want clients to 
listen at and the server to send to. The clients uses flex and the server java 
(of course). I have managed to do all this without any security constraints so 
both clients and the server are able to read and write to and from the jms 
queue.

I have tried to manipulate these files:
jboss/server/default/deploy/jms/jbossmq-destinations-service.xml
jboss/server/default/data/hypersonic/localDB.script
jboss/server/all/deploy-hasingleton/jms/jbossmq-service.xml
jboss/server/all/deploy-hasingleton/jms/jbossmq-destinations-service.xml
jboss/server/all/deploy-hasingleton/jms/hsqldb-jdbc-state-service.xml

without getting anywhere, either everyone is able to both read and write or 
noone is able to read/write.

How do I setup this user database? I have tried to find anything about it, but 
without luck.

Actually, I would like to have a security model thats not password based, but 
based on which ip thats connected to the jms queue. I would like to setup a 
solution where only connections from localhost can write to the queue, in other 
words the server. Is that possible?

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

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


[jboss-user] [JBoss Seam] - Re: Security: Better support for single sign on?!

2007-09-20 Thread stephen.friedrich
Thanks Shane!
Using identity.authenticate() got rid of the Welcome, Stephen message.
To get rid of the Please log in first message I did this:
@Scope(ScopeType.APPLICATION)
  | @Intercept(NEVER)
  | @Name(org.jboss.seam.core.pages)
  | @Install(precedence=Install.APPLICATION)
  | public class SsoPages extends Pages {
  | 
  | /**
  |  * Overridden to prevent Please log in first faces message
  |  */
  | protected void notLoggedIn() {
  | Events.instance().raiseEvent(org.jboss.seam.notLoggedIn);
  | }
  | }

The auto-login-method should be quite easy to implement in Seam, don't you 
think? It would be much more straightforward than this current solution.
Can I create a Jira issue for this feature? Will you accept a patch if I supply 
it?

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

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


[jboss-user] [JBoss Portal] - Re: force validatePassword

2007-09-20 Thread den74
any suggestions from jboss portal project people?


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

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


[jboss-user] [JBoss Portal] - Re: JSF and all commandButtons are fired

2007-09-20 Thread ameo
den74 wrote :  h:commandButton action=#{Bean.calit} 
value=#{Calculation}/ 

Thanks for answer!

The value attribute of the commandButton can be a literal text or a 
value-binding expression. So this one have to work:

anonymous wrote : h:commandButton id=b1 type=submit action=#{Bean.calit} 
value=Calculation/ 

I created a new JSF and a new portlet and this works fine, but I don't know why 
previous example dones't work. Maybe because of IPC ?

 

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

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


[jboss-user] [JBoss Portal] - Re: JSF and all commandButtons are fired

2007-09-20 Thread ameo
The Problem ist not a jsf problem. It relies von IPC. The portlet on a page 
without IPC works, the one with IPC fires all actions on the button. Who have 
experience with IPC and JSF ?

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

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


[jboss-user] [JBoss jBPM] - Re: Version compatibility issues between JBPM 3.1.3 and JBos

2007-09-20 Thread jbosspatni
Attached is the proces definition file

  | process-definition
  |   name=FaultProcess
  |   xmlns=urn:jbpm.org:jpdl-3.1 
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   xsi:schemaLocation=urn:jbpm.org:jpdl-3.1 
http://jbpm.org/xsd/jpdl-3.1.xsd;
  |   
  |swimlane name=Initiator
  |   assignment expression=user(bert)/assignment
  |/swimlane
  |swimlane name=Identifier
  |   assignment expression=user(ernie)/assignment
  |/swimlane
  |swimlane name=Notifier
  |   assignment expression=user(user)/assignment
  |/swimlane
  |swimlane name=Resolver
  |   assignment expression=user(admin)/assignment
  |/swimlane
  |start-state name=Initiate
  |   task name=Initiate Fault Process
  |  controller
  | variable name=Fault Id 
access=read,write,required/variable
  |  /controller
  |   /task
  |   transition name= to=Fault Received/transition
  |/start-state
  |task-node name=Fault Received
  |   task name=Identify Type swimlane=Initiator
  |  controller
  | variable name=Fault Id access=read/variable
  | variable name=Fault Type 
access=read,write,required/variable
  |  /controller
  |   /task
  |   transition name= to=Check Fault Type/transition
  |/task-node
  |decision name=Check Fault Type
  |   handler class=com.patni.jbpm.CheckType/
  |   transition name=Network to=Identify Fault/transition
  |   transition name=Hardware to=Unresolved/transition
  |/decision
  |task-node name=Identify Fault
  |   task name=Identify Priority swimlane=Identifier
  |  controller
  | variable name=Fault Id access=read/variable
  | variable name=Fault Type access=read/variable
  | variable name=Fault Priority 
access=read,write,required/variable
  | variable name=Fault Decription 
access=read,write,required/variable
  | variable name=Fault Location 
access=read,write,required/variable
  |  /controller
  |   /task
  |   transition name= to=Check Priority/transition
  |/task-node
  |task-node name=Unresolved
  |   task name=Fault Unresolved swimlane=Initiator
  |  controller
  | variable name=Fault Id access=read/variable
  | variable name=Fault Type access=read/variable
  |  /controller
  |   /task
  |   transition name= to=end1/transition
  |/task-node
  |end-state name=end1/end-state
  |decision name=Check Priority
  |   handler class=com.patni.jbpm.CheckPriority/
  |   transition name=High to=Notification/transition
  |   transition name=Medium/Low to=Resolution/transition
  |/decision
  |task-node name=Notification
  |   task name=Notify Manager swimlane=Notifier
  |  controller
  | variable name=Fault Id access=read/variable
  | variable name=Fault Type access=read/variable
  | variable name=Fault Priority access=read/variable
  | variable name=Fault Decription access=read/variable
  | variable name=Fault Location access=read/variable
  |  /controller
  |   /task
  |   transition name= to=Resolution/transition
  |/task-node
  |task-node name=Resolution
  |   task name=Enter Status swimlane=Resolver
  |  controller
  | variable name=Fault Id access=read/variable
  | variable name=Fault Type access=read/variable
  | variable name=Fault Priority access=read/variable
  | variable name=Fault Decription access=read/variable
  | variable name=Fault Location access=read/variable
  | variable name=Fault Status 
access=read,write,required/variable
  |  /controller
  |   /task
  |   transition name= to=Check Status/transition
  |/task-node
  |decision name=Check Status
  |   handler class=com.patni.jbpm.CheckStatus/
  |   transition name=Resolved to=end2/transition
  |   transition name=Not Resolved to=Unresolved/transition
  |/decision
  |end-state name=end2/end-state
  | /process-definition
  | 

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

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


[jboss-user] [JBossWS] - IllegalStateException: Cannot load SecurityAdaptor while run

2007-09-20 Thread timeagentess
Hello all,

I am trying to run the SwaRef test sample from JBossWS 2.0 (working under JBoss 
4.0.5).

After building the tests, I execute ant -Dtest=jaxws/samples/swaref and I get 
this exception:

java.lang.IllegalStateException: Cannot load SecurityAdaptor 
  | at 
org.jboss.wsf.spi.invocation.SecurityAdaptorFactory.getSecurityAdaptor(SecurityAdaptorFactory.java:40)
  | at 
org.jboss.wsf.spi.test.TestDeployerJBoss.invokeMainDeployer(TestDeployerJBoss.java:81)
  | at 
org.jboss.wsf.spi.test.TestDeployerJBoss.deploy(TestDeployerJBoss.java:68)
  | at 
org.jboss.wsf.spi.test.JBossWSTestHelper.deploy(JBossWSTestHelper.java:58)
  | at 
org.jboss.wsf.spi.test.JBossWSTestSetup.setUp(JBossWSTestSetup.java:94)
  | at junit.extensions.TestSetup$1.protect(TestSetup.java:22)
  | at junit.framework.TestResult.runProtected(TestResult.java:128)
  | at junit.extensions.TestSetup.run(TestSetup.java:27)
  | at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
  | at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
  | at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
  |  

Same exception is thrown for every other test sample in the suite.
Can someone please offer some insight as to why this might be happening? 

Thank you!
--Chris.

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

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


[jboss-user] [JBoss jBPM] - Re: get processinstance with task id

2007-09-20 Thread dleerob
The call jbpmContext.close() closes the owning session.

Both your methods as using the jbpmContext variable.

So, when you call the method getTaskinstanceByID(String taskInstanceId), it 
calls jbpmContext.close() in your finally block. This closes the session. Now 
remember, your jbpmContext is shared by both methods, so when your 
getProcessInstance(String taskId) method tries to call 
taskInstance.getTaskMgmtInstance().getProcessInstance(), the session is already 
closed.

Try changing your getTaskinstanceByID method to this:

  | public TaskInstance getTaskinstanceByID(String taskInstanceId){
  | taskInstance = 
jbpmContext.getTaskInstance(Long.parseLong(taskInstanceId));
  | return taskInstance;
  | }
  | 

As you already have a jbpmContext initialized, don't recreate it in this method.

Hope this helps.

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

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


[jboss-user] [JBoss Portal] - Re: JSF and all commandButtons are fired

2007-09-20 Thread ameo
Nice, I testet again.

I take only one Portlet. The portlet is an JSF Portlet and have 2 
commandButtons. 

Now, when I activate with the admin tool the partial refresh feature, all 
action methods of all buttons are fired.

when I deactivate partial refresh all works. 

Is this a Bug ? 



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

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


[jboss-user] [JBossWS] - Re: IllegalStateException: Cannot load SecurityAdaptor while

2007-09-20 Thread richard_opalka
For JBossWS 2.0.1 do the following:

 * Modify ant.properties accordingly (copy them from ant.propeties.example)
   * cd $JBOSSWS201_HOME
   * cp -f ant.properties.example ant.properties
   * emacs ant.properties // and to your configuration staff
 * Build JBossWS 2.0.1
   * ./build.sh clean main
   * ./build.sh deploy-jboss40
 * start JBoss AS
   * pushd $JBOSS405_HOME/bin
   * ./run.sh 
   * popd
 * execute test:
   * ./build.sh -Dtest=...

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

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


[jboss-user] [JBoss Seam] - Rich Text Editor

2007-09-20 Thread hasc
Hello,

does anyone know a rich text editor that can be used with sun jsf 1.2? I found 
FCK Faces but it only works with myfaces. 

Any hints would be great.

Thanks,
hasc

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

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


[jboss-user] [JBoss Seam] - a:support with s:selectItems problem

2007-09-20 Thread [EMAIL PROTECTED]
Hi,

what I am trying to do is to change the set of values in one s:selectItems 
component after changing the value on a facelets page in another 
s:selectItems. In other words speaking lets assume that we have two 
s:selectItems components. In the first one there are branches and in the 
second one there are categories. And now if I change the branch the categories 
in the new selected branch should be loaded into the second s:selectItems . 
The code is following:



  | h:form id=predefinedSkill styleClass=edit
  | 
  |h:outputLabel for=branch
  |   #{messages.branch}
  |/h:outputLabel
  | 
  |s:decorate id=branchDecoration
  |   h:selectOneMenu value=#{branchHome.instance.name}
  | s:selectItems value=#{branchList.resultList} var=branch 
label=#{branch.name} /
  | s:convertEntity/
  | a:support event=onchange reRender=categoryDecoration 
ajaxSingle=true action=#{categoryHome.loadAllCategories()}/
  |   /h:selectOneMenu
  |/s:decorate
  | 
  |   
  |h:outputLabel for=category
  |   #{messages.category}
  |/h:outputLabel
  | 
  |s:decorate id=categoryDecoration
  |   h:selectOneMenu value=#{categoryHome.instance.name} 
  |  s:selectItems value=#{categoryHome.categoryList} var=category 
label=#{category.name} /
  |  s:convertEntity/
  |/h:selectOneMenu
  | /s:decorate
  | 
  | /h:form
  | 

But when I change the branch I get the error:

  | INFO  [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not 
have been displayed.
  | sourceId=predefinedSkill:branchDecoration:j_id29[severity=(ERROR 2), 
summary=(/specialist/spec_skills.xhtml @76,85 
value=#{branchHome.instance.name}: java.lang.IllegalArgumentException: 
argument type mismatch), detail=(/specialist/spec_skills.xhtml @76,85 
value=#{branchHome.instance.name}: java.lang.IllegalArgumentException: 
argument type mismatch)]
  | 
  | 

If the Branch Entity has additionally constraints on length i.e.

  | @Column(name = NAME, length = 100)
  | @Length(max = 100)
  | public String getName() {
  |return this.name;
  | }
  | 

I get the following error:


  | INFO  [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not 
have been displayed.
  | sourceId=predefinedSkill:branchDecoration:j_id28[severity=(ERROR 2), 
summary=(length must be between 0 and 100), detail=(length must be between 0 
and 100)]
  | sourceId=predefinedSkill:predefinedSkillDecoration:j_id37[severity=(ERROR 
2), summary=(length must be between 0 and 100), detail=(length must be between 
0 and 100)]
  | 

In both cases the method categoryHome.loadAllCategories() [I don't use branchId 
as a parameter in this method for the simplicity reason] is not invoked! But if 
I invoke it from the simple h:input component:

  | h:form id=predefinedSkill styleClass=edit
  | 
  |h:inputText value=TEST
  |   a:support event=onchange reRender=categoryDecoration 
ajaxSingle=true action=#{categoryHome.loadAllCategories()}/
  |/h:inputText
  | 
  |h:outputLabel for=branch
  |   #{messages.branch}
  |/h:outputLabel
  | 
  |s:decorate id=branchDecoration
  |   h:selectOneMenu value=#{branchHome.instance.name}
  | s:selectItems value=#{branchList.resultList} var=branch 
label=#{branch.name} /
  | s:convertEntity/
  | a:support event=onchange reRender=categoryDecoration 
ajaxSingle=true action=#{categoryHome.loadAllCategories()}/
  |   /h:selectOneMenu
  |/s:decorate
  | 
  |   
  |h:outputLabel for=category
  |   #{messages.category}
  |/h:outputLabel
  | 
  |s:decorate id=categoryDecoration
  |   h:selectOneMenu value=#{categoryHome.instance.name} 
  |  s:selectItems value=#{categoryHome.categoryList} var=category 
label=#{category.name} /
  |  s:convertEntity/
  |/h:selectOneMenu
  | /s:decorate
  | 
  | /h:form
  | 

everything works fine. Could anybody explain me why there is such a problem 
with s:selectItems and what are possible solutions for that.

Thanks for help in advance.
(I use Seam 2 CR1 + JBoss AS 4.2.0)

Best regards,
jquery

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

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


[jboss-user] [JBoss Portal] - security realm question

2007-09-20 Thread shilpak
Hi,

 I am new to jaas. In login-config.xml, we set the security realm as 
application-policy name. And then we use that realm by declaring it in 
jboss-portal.sar\portal-server.war\WEB-INF\jboss-web.xml as security-domain.

Then in jboss-portal.sar\portal-server.war\WEB-INF\web.xml, how are we setting  
realm-nameJBoss Portal/realm-name. I mean where have we configured JBoss 
Portal realm.

Thanks in advance
Shilpa



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

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


[jboss-user] [JBoss Seam] - Re: Rich Text Editor

2007-09-20 Thread mustaghattack
Hi,


I've something working fine with TinyMCE.
There's post about how to use it with ajax : 
http://www.jboss.com/index.html?module=bbop=viewtopict=109794

This is how I use it (with ajax re-rendering):
- copy the tinymce scripts into your project
- add this script (init-tiny.js) :

  | tinyMCE.init({
  | mode:none,
  | theme : advanced,
  | theme_advanced_toolbar_location : top,
  | theme_advanced_statusbar_location : bottom,
  | theme_advanced_toolbar_align : left,
  | // everything on the first line
  | theme_advanced_buttons1 : 
bold,italic,underline,justifyleft,justifycenter,justifyright 
,fontselect,fontsizeselect,forecolor,backcolor,
  | theme_advanced_buttons2 : ,
  | theme_advanced_buttons3 : ,
  | theme_advanced_resize_horizontal : false,
  | theme_advanced_resizing : true,
  | convert_newlines_to_brs : true  
  | });
  | 
  | function updateValue(control)
  | {   
  | var textareas = document.getElementsByTagName('textarea');
  | for( i = 0; i  textareas.length; i ++ ) {
  | if( textareas[ i ].id == control ) {
  | textareas[ i ].value = tinyMCE.getContent(control);
  | }
  | }
  | }
  | 
  | function addMCE(control) {
  | cleanMCE();
  | tinyMCE.execCommand('mceAddControl', false, control);
  | tinyMCE.switchClassCache = [];
  | }
  | 
  | function cleanMCE() {
  | tinyMCE.idCounter = 0;
  | tinyMCE.instances = new Array();
  | }
  | 

- to add the editor, add this attribute to your ajax tag :

  | oncomplete=addMCE( 'yourFormComponentId:yourTxtAreaComponentId' );
  | 

- to remove the editor, add this attribute to your ajax tag :

  | oncomplete=cleanMCE();
  | 

- add this attribute to your form tag (otherwise the textarea value is not 
updated) :

  | onsubmit=updateValue('#formId:inputAreaId');
  | 



PS: You should post this on the richfaces forum.


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

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


[jboss-user] [JBoss Portal] - JBoss Wiki fails to deploy

2007-09-20 Thread konstandinos
hi

we're running JBosss AS 4.0.5.GA (note: using the jems-installed version - i 
know the docs say this hasn't been tested), with postgresql 8.2 (latest jdbc 
driver).

jboss portal 2.6.1 deploys and works ok (with the exceptions of a few errors 
every now and then in stdout - i'm assuming this is because of the jems 
install, which we shall address).

however, when trying to install jboss wiki portlet, i deploy the wiki.ear file 
and get errors in stdout:


  | 11:42:47,747 ERROR [StandardContext] Error filterStart
  | 11:42:47,747 ERROR [StandardContext] Context [/wiki] startup failed due to 
previous errors
  | 11:42:47,751 WARN  [ServiceController] Problem starting service 
jboss.web.deployment:war=wiki.war,id=1070336527
  | org.jboss.deployment.DeploymentException: URL 
file:/home/artemis/jboss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp64174wiki.ear-contents/wiki-exp.war/
 deployment failed
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:375)
  | 

and


  | 11:42:47,752 ERROR [MainDeployer] Could not start deployment: 
file:/home/artemis/jboss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp64174wiki.ear-contents/wiki.war
  | org.jboss.deployment.DeploymentException: URL 
file:/home/artemis/jboss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp64174wiki.ear-contents/wiki-exp.war/
 deployment failed
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:375)
  | 

any ideas?

is it because of the jems install?

also, while we're on that topic, say we now decide to abandon the jems install, 
and instead use the 'normal' install technique. in windows it was just a matter 
of downloading the zip file, unpacking it, and starting up jboss (fairly 
straight forward). with linux, is it the same? we're using ubuntu linux 7.04 
server.

finally - what wiki software does jboss.org wikis use?

thanks and cheers,

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

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


[jboss-user] [Beginners Corner] - start options for JBoss?

2007-09-20 Thread BruceSpringfield
Is there a list or a wiki somewhere that lists the startup options for JBoss?

I know -c all for the all config but other options?

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

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


[jboss-user] [JBoss Seam] - Re: SessionBeans depend on JSF component libraries?

2007-09-20 Thread [EMAIL PROTECTED]
No, SessionBeans don't depend on JSF libraries.  Yes, you can bind to jsf 
components if you wish - but you probably shouldn't to avoid separation of 
concerns. You should follow seam-gen packaging.

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

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


[jboss-user] [JBoss Seam] - Re: Two EAR files in one JVM

2007-09-20 Thread [EMAIL PROTECTED]
You are trying to access the same instance of an entity from two applications 
at once? I don't think you (or hibernate) can do that.  I was assuming you were 
wanting to communicate using remote interfaces on session beans. EJB3 forum 
might also be able to help.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Wiki fails to deploy

2007-09-20 Thread [EMAIL PROTECTED]
You should ask on the WIki forum...

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

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


[jboss-user] [JBoss Seam] - Re: Call scheduled method from another scheduled method

2007-09-20 Thread [EMAIL PROTECTED]
Someone else reported this not in the context of Quartz.  If you are sure this 
is happening please file a JIRA issue with simple example built using seam-gen 
with the lib/ directory removed.

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

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


[jboss-user] [JBoss Seam] - Re: Rich Text Editor

2007-09-20 Thread hasc
thanks for your fast response.

is it possible to confgure the resource path and upload images with this editor?

regards,
hasc




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

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


[jboss-user] [JBoss Seam] - Launching task in Seam 1.2

2007-09-20 Thread mhissen
I've a table Alert in my data base.
I'd like to launch a periodic interrogation of the data base to recover these 
alerts and to launch a background task in my application in order to post 
suitable alert.
How I can proceed with Seam 1.2
Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Page parameters - change value

2007-09-20 Thread [EMAIL PROTECTED]
Don't use server side state saving, Seam, and MyFaces - it doesn't work.  You 
should use the RI 1.2 if you can - it's much better.  You can use JSF 1.2 with 
facelets in a 2.4 servlet container.

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

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


[jboss-user] [JBoss Seam] - Re: PageFlow and database

2007-09-20 Thread [EMAIL PROTECTED]
Why do you think it would be very useful?

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

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


[jboss-user] [EJB 3.0] - Re: EJB 2.1 and EJB 3 in same jar

2007-09-20 Thread Marcin.Cinik
Hi!

We've got the same problem. How to deploy EJB 2.1 and EJB 3.0 (mixed mode) 
packed in the same jar on JBoss 4.2GA ?

Marcin


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

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


[jboss-user] [JBoss Seam] - Re: FYI: Seam 2 CR1 has been released

2007-09-20 Thread rengar
anonymous wrote : 
  | Where is org.jboss.seam.jsf.TransactionalSeamPortletPhaseListener? 
  | 

And where is org.jboss.seam.jsf.SeamPortletPhaseListener?

There isn't integration to Portlets?

How integrated Seam+Portlets?

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

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


[jboss-user] [JBoss Seam] - Re: global pageflow case??

2007-09-20 Thread [EMAIL PROTECTED]
What are you talking about?

Perhaps Seam's navigation rules help here?

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

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


[jboss-user] [JBoss Seam] - Re: Noob conversation confusion

2007-09-20 Thread [EMAIL PROTECTED]
You can try the beforeRedirect option on end-conversation.

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

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


[jboss-user] [JBoss Seam] - Re: Noob conversation confusion

2007-09-20 Thread [EMAIL PROTECTED]
Or try propagation=none link

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

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


[jboss-user] [JBoss Seam] - Re: Character encofing in email: subject

2007-09-20 Thread [EMAIL PROTECTED]
This is fixed in Seam2

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

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


[jboss-user] [JBoss Seam] - Re: EjbSynchronizations not bound

2007-09-20 Thread [EMAIL PROTECTED]
What is your deployment environment?

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

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


[jboss-user] [JBoss Seam] - Re: Error in documentation, or my understanding?

2007-09-20 Thread [EMAIL PROTECTED]
I think you are right Matt.  Please open a JIRA issue.

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

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


[jboss-user] [JBoss Seam] - Re: FYI: Seam 2 CR1 has been released

2007-09-20 Thread [EMAIL PROTECTED]
As I said, portal integration needs significant updates for newer versions of 
Seam.

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

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


[jboss-user] [Beginners Corner] - best way to manage a lot of start options?

2007-09-20 Thread BruceSpringfield
I have to set a lot of system properties to start my jboss servers, -D options.

What is the best way to manage these options so I don't have to type huge 
entries on my command line whenever I start jboss?  (i.e. run -Dblahblah 
-Dblahblah . . . )

Can I add these options to the run.bat file?



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

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


[jboss-user] [JBoss Seam] - Re: Upgrading to MyFaces1.2 in Jboss 4.0.5/Seam 1.2.1 setup

2007-09-20 Thread [EMAIL PROTECTED]
Not if you use facelets.

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

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


[jboss-user] [JBoss Seam] - Re: SessionBeans depend on JSF component libraries?

2007-09-20 Thread vanyatka
[EMAIL PROTECTED] wrote : No, SessionBeans don't depend on JSF libraries.  
Yes, you can bind to jsf components if you wish - but you probably shouldn't to 
avoid separation of concerns. You should follow seam-gen packaging.

Are they not? I'm particularly interested in using the Tree component, and 
according to examples I've found this is how I handle OnSelect event:

 public void onSelect (NodeSelectedEvent event) { ... } 

Are you suggesting that I should put this method into Seam POJO handlers 
instead of SessionBeans? One way or the other, it doesn't change the fact that 
the ejb.jar inside the .ear depends on RichFaces libs. To overcome this I put 
all richfaces libs at the top of .ear file and referenced them in 
META-INF/application.xml


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

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


[jboss-user] [JBoss Seam] - Re: Problem with injection when using jbpm process

2007-09-20 Thread ctomc
it looks like if injections are not called at all.

if I do manual lookup in context then it works.

uporabnik = (Uporabnik)Contexts.getSessionContext().get(uporabnik);

Is problem somewhere in configuration and some interceptor is not set?

I've upgraded to CR1 that I am running on jboss 4.0.5.GA with ejb3 support and 
changed jsf libs.

anyone?

cheers,
tomaz

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 4.2.0GA installation problems

2007-09-20 Thread [EMAIL PROTECTED]
Thanks for the blog write-up.

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

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


[jboss-user] [Beginners Corner] - Re: start options for JBoss?

2007-09-20 Thread PeterJ
Try run -h.

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

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


[jboss-user] [JBoss Seam] - Re: SessionBeans depend on JSF component libraries?

2007-09-20 Thread [EMAIL PROTECTED]
Well my definition of dependency is absolutely required by - here it isn't a 
requirement, just the way you choose to structure your app.

1) In RichFaces 3.1 you have an api jar which contains stuff you may need to 
reference from your ejbs
2) In RichFaces 3.1 you also have a xml bound tree which may not have this 
problem.  RF also needs to provide an optional version of onSelect which 
doesn't take any parameters. (I'm not sure if does or not).

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

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


[jboss-user] [Beginners Corner] - Re: best way to manage a lot of start options?

2007-09-20 Thread PeterJ
I would create another *.bat file, set the -D options there, and have that 
*.bat call run.bat.

Also, if you have a lot of system properties you want to set, look into the 
system properties service (server/xxx/deploy/properties-service.xml) 

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

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


[jboss-user] [JBoss Seam] - Re: Launching task in Seam 1.2

2007-09-20 Thread [EMAIL PROTECTED]
Look at asynchronous methods (documented in the ref doc).

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

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


[jboss-user] [JBoss Seam] - Re: @in(create=true) not working !

2007-09-20 Thread [EMAIL PROTECTED]
It's related to jbpm.  Post your startup log.

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

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


[jboss-user] [JBoss Seam] - Re: Conversation related error (UnsupportedOperationExceptio

2007-09-20 Thread [EMAIL PROTECTED]
Please try with Seam 1.2.1

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

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


[jboss-user] [Beginners Corner] - log4j does not create new file if it has been deleted, while

2007-09-20 Thread namitak2003
I have configured log file using jboss log4j and found that if i delete the log 
file, log4j is not recreating it, while the application is running. In order to 
recreate log file, the application needs to restarted. 

Is there any way to recreate log file runtime if it has been deleted ?


Regards,
Namita



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

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


[jboss-user] [JBoss Seam] - Re: Seam and JSF EL Expression

2007-09-20 Thread gersonk
thejavafreak wrote : 
  | The second one will get the messageList that is created by the @Factory
  | 

but it's not necessary to use any factory method to get it to work...

Is it about dependency injection?

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

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


[jboss-user] [JBoss jBPM] - Re: Version compatibility issues between JBPM 3.1.3 and JBos

2007-09-20 Thread jbosspatni
Hi,

The error was due to the fact that the seam components were not finding the 
processdefinition.xml as the path for the same in components.xml was prefixed 
with a /.Removing that fixed the whole thing.

Appreciate your support  in this regard.

Thanks  Regards,
Ajeet Phansalkar

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

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


[jboss-user] [JBossWS] - Re: Problem with methods returning an attachment

2007-09-20 Thread richard_opalka
bernhard_pauler wrote : But do you any ideas how to circumvent this problem? 
Like adding a dummy return value of a different type - or using SAAJ on the 
server side?
  | 

I would start with functional JBossWS JAX-RPC samples (that comes with 
distribution) in your situation and customize them step by step :-)

Richard

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

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


[jboss-user] [JBossWS] - Re: could not find deserializer

2007-09-20 Thread richard_opalka
Did you regenerate all the generated staff?

Richard

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

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


[jboss-user] [EJB 3.0] - Re: EJB 2.1 and EJB 3 in same jar

2007-09-20 Thread wolfc
The EJB 3 deployer in AS 4.2 can only deploy EJB 2.1 session beans. 2.1 Entity 
BMP/CMP beans are not deployable.

The only change necessary is setting a correct version in the deployment 
descriptor.

If you still have deployment problems please post a stack trace.

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

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


[jboss-user] [JBoss Seam] - Re: a:support with s:selectItems problem

2007-09-20 Thread wise_guybg
The first selectOneMenu mus be in a:region and the second one in a:outputPanel 
(ajaxRendered=true). Ids must be set for those components and not s:decorate.

This is more of a A4J problem...

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

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


[jboss-user] [JBoss Seam] - Re: SessionBeans depend on JSF component libraries?

2007-09-20 Thread vanyatka
[EMAIL PROTECTED] wrote : Well my definition of dependency is absolutely 
required by - here it isn't a requirement, just the way you choose to structure 
your app.
Well, it is necessary as long as I want to use the component :) If you say 
don't use RichFaces (particularly trees, not sure about other UI components), 
then yes, it is not a requirement :)

anonymous wrote : 1) In RichFaces 3.1 you have an api jar which contains stuff 
you may need to reference from your ejbs
Aha, that's more like it :)

anonymous wrote : 2) In RichFaces 3.1 you also have a xml bound tree which may 
not have this problem.  
Hm... I construct my tree from the data from DB, so I'm not quite sure this can 
really help me. But thanks for mentioning it anyway.

RF also needs to provide an optional version of onSelect which doesn't take any 
parameters. (I'm not sure if does or not).
  | 
My understanding is that some UI components require their action beans link to 
RF libs while others don't. Is that so?




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

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


[jboss-user] [JBoss Seam] - Re: a:support with s:selectItems problem

2007-09-20 Thread [EMAIL PROTECTED]
Also, the value of the h:selectXXX doesn't want to be a String, but the entity 
setter if you are using s:convertEntity.  Try to get this working without ajax 
to start with.

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

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


[jboss-user] [Beginners Corner] - Re: log4j does not create new file if it has been deleted, w

2007-09-20 Thread jaikiran
This is a log4j question than JBoss. You might find an answer at Log4j Users 
Mailing list ([EMAIL PROTECTED])



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

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


[jboss-user] [Beginners Corner] - Re: best way to manage a lot of start options?

2007-09-20 Thread BruceSpringfield
PeterJ wrote : I would create another *.bat file, set the -D options there, 
and have that *.bat call run.bat.
  | 
  | Also, if you have a lot of system properties you want to set, look into the 
system properties service (server/xxx/deploy/properties-service.xml) 

Thanks very much for the post!!!  

Another question, is there a way to see in JBoss that the System properties are 
set?  Or to see all system properties?

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

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


[jboss-user] [JBoss Seam] - Re: SessionBeans depend on JSF component libraries?

2007-09-20 Thread [EMAIL PROTECTED]
vanyatka wrote : anonymous wrote : 2) In RichFaces 3.1 you also have a xml 
bound tree which may not have this problem.  
  | Hm... I construct my tree from the data from DB, so I'm not quite sure this 
can really help me. But thanks for mentioning it anyway.

Bad language on my part - see 
http://in.relation.to/Bloggers/RichFaces31Released for what I meant - much 
better way of doing it than constructing trees in backing beans!

anonymous wrote : My understanding is that some UI components require their 
action beans link to RF libs while others don't. Is that so?

Yes, as few as possible is our aim (we are working on reducing this e.g. the 
tree design mentioned above).

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

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


[jboss-user] [JBoss jBPM] - org.jbpm.graph.def.DelegationException

2007-09-20 Thread naresh049
I am getting following exception when I am using ProcessInstance.signal()..
can anyone get me out from this problem..


org.jbpm.graph.def.DelegationException
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:367)
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:358)
at org.jbpm.graph.def.Node.execute(Node.java:343)
at org.jbpm.graph.def.Node.enter(Node.java:318)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:393)
at org.jbpm.graph.node.StartState.leave(StartState.java:70)
at org.jbpm.graph.exe.Token.signal(Token.java:194)
at org.jbpm.graph.exe.Token.signal(Token.java:139)
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:251)
at my.com.Test.EmailTest.testSendMail(EmailTest.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at 
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: java.lang.NullPointerException
at org.jbpm.graph.def.Action.execute(Action.java:122)
at org.jbpm.graph.def.Node.execute(Node.java:338)
... 26 more

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

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


[jboss-user] [JBoss Seam] - Re: a:support with s:selectItems problem

2007-09-20 Thread wise_guybg
After I noticed that your question has more in it than what my reply was I 
would add that according to the docs ajaxSingle=true submits ONLY one 
field/link, instead of all form controls.

So when you put a:support on the selectOneMenu and you don't have 
region/outputPanel it messes up. When you put it on the text field it's ok.

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

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


[jboss-user] [EJB 3.0] - Re: EJB 2.1 and EJB 3 in same jar

2007-09-20 Thread Marcin.Cinik

I'm using annotations in my EJB3.0 beans without any deployment XML descriptor. 
I don't want any deployment descriptor for these beans. Deployment descriptor 
contains only informations about EJB2.1 beans. Should I also put informations 
about EJB3.0 beans in the deployment descriptor ?

The real problem is that XDoclet does not understand JAVA5 grammar and it 
cannot generate deployment descriptor for EJB3.0 beans which use JAVA5-specific 
features like annotations, generecis, enums.

Marcin

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Accessing varargs from jsp (jboss 4.2.0 / jre 5.0)

2007-09-20 Thread jaikiran
Try adding the compilerSourceVM init-param to the web.xml file present in 
server/ serverName/deploy/jboss-web.deployer/conf folder, as follows:

!--   compilerTargetVMCompiler target VM --  
  |   !--   default is System.properties   
--
  |   !--java.specification.version  1.4  
--
  |   !--[1.5] else [1.4]  
--
  |   !--  
--
  |   !--   compilerSourceVMCompiler source VM 
--
  |   !--   default is System.properties   
--
  |   !--java.specification.version  1.4  
--
  |   !--[1.5] else [1.4]  
--
  |   !--  
--
  |   !-- If you wish to use Jikes to compile JSP pages:   
--
  |   !--   Please see the Using Jikes section of the Jasper-HowTo   
--
  |   !--   page in the Tomcat documentation.  
--
  | 
  | servlet
  | servlet-namejsp/servlet-name
  | servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class
  | init-param
  | param-namefork/param-name
  | param-valuefalse/param-value
  | /init-param
  | init-param
  | param-namexpoweredBy/param-name
  | param-valuefalse/param-value
  | /init-param
  | 
  | !-- Use a custom options class to allow the shared tag lib 
descriptors
  |  to be loaded from jars in the tomcat sar conf/tlds directory. The
  |  standard options implementation can only find taglibs based on the
  |  class loader classpath.
  | --
  | init-param
  |param-nameengineOptionsClass/param-name
  |
param-valueorg.jboss.web.tomcat.service.jasper.JspServletOptions/param-value
  | /init-param
  | !-- Specify the jars relative to the jbossweb-tomcat6.sar that 
should
  |   be scanned for common tag lib descriptors to include in every war
  |   deployment.
  | --
  | init-param
  |descriptionJSF standard tlds/description
  |param-nametagLibJar0/param-name
  |param-valuejsf-libs/jsf-impl.jar/param-value
  | /init-param
  | init-param
  |descriptionJSTL standard tlds/description
  |param-nametagLibJar1/param-name
  |param-valuejstl.jar/param-value
  | /init-param
  | 
  |init-param
  |param-namecompilerSourceVM/param-name
  |param-value1.5/param-value
  | /init-param
  | load-on-startup3/load-on-startup
  | /servlet

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

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


[jboss-user] [JBoss Seam] - Re: Multiple instances of one webapp

2007-09-20 Thread [EMAIL PROTECTED]
Ensure you have classloading isolation enabled and that the jndi lookup 
namespace is different.

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

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


[jboss-user] [Beginners Corner] - Re: best way to manage a lot of start options?

2007-09-20 Thread BruceSpringfield
Okay.  I think I found it :

jmx-console : SystemPropertiesService : showGroup()

Thanks very much!!

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

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


[jboss-user] [JBoss Seam] - Re: SessionBeans depend on JSF component libraries?

2007-09-20 Thread vanyatka
[EMAIL PROTECTED] wrote : Yes, as few as possible is our aim (we are working 
on reducing this e.g. the tree design mentioned above).
Thanks for your help, Pete.
It's all much clearer to me now. Is it too bad that I referenced RF libs in the 
application.xml?


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Referring a class inside ear archive

2007-09-20 Thread zakhan
Hi guys,
 not sure if this is the right place for this post ... but hope so :)
I am trying to run a Scheduler service (org.jboss.varia.scheduler.Scheduler). I 
copied the example configuration, so everything should be fine. But I get 
java.lang.ClassNotFoundException: No ClassLoaders found for xxx. I found out 
that its probably because my class is not visible from outside. My application 
is generated by SeamGen and has structure as follows:

ear archive (directory)
 - jar archive (directory)
 - war archive (directory)

Could anybody give me a hint where to place the .xml with configuration of the 
scheduler service to be able to see the class inside the jar archive? Thanks 
for help.

Ps: found some solution with setting the Isolation attribute to false, but 
that didnt solve it for me. Thanks.



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

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


[jboss-user] [JBossWS] - Re: Problem with methods returning an attachment

2007-09-20 Thread bernhard_pauler
I see. Thanks. :-)

Bernhard

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

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


[jboss-user] [JBoss Seam] - Re: EjbSynchronizations not bound

2007-09-20 Thread wise_guybg
I see Pete has replied to a lot of posts so I hope I don't get missed this time.

I really can't turn on transaction:ejb-transaction/ in my application. It's 
always the same error. And it's difficult to debug since it's the AS that 
throws an error. 

I found two topics:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4071599
http://www.jboss.com/index.html?module=bbop=viewtopicp=4077142

That both end up with the same JIRA issue:
http://jira.jboss.com/jira/browse/JBSEAM-1771

Unfortunately even after CR1 this doesn't work in my environment.

opps, I saw Pete has replied (happy :)

I use JBoss 4.2.1.GA, Seam 2.0.0.CR1. I access an Oracle 10g database.

Here is my persistence.xml


  | ?xml version=1.0 encoding=UTF-8?
  | persistence xmlns=http://java.sun.com/xml/ns/persistence;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
  |  version=1.0
  | persistence-unit name=examCenterDatabase transaction-type=JTA
  | providerorg.hibernate.ejb.HibernatePersistence/provider
  | jta-data-sourcejava:SeamDS/jta-data-source
  | properties
  | property name=hibernate.show_sql value=true/
  | property name=hibernate.max_fetch_depth value=3/
  | property name=hibernate.cache.provider_class 
value=org.hibernate.cache.HashtableCacheProvider/
  | !-- Oracle specific settings --
  | property name=hibernate.dialect 
value=org.hibernate.dialect.Oracle10gDialect/
  | property name=hibernate.connection.driver_class 
value=oracle.jdbc.OracleDriver/
  | !-- JBoss AS specific settings --
  | property name=hibernate.transaction.manager_lookup_class
  |   
value=org.hibernate.transaction.JBossTransactionManagerLookup/
  | ...
  | /properties
  | /persistence-unit
  | /persistence
  | 

and components.xml

  | ?xml version=1.0 encoding=UTF-8?
  | components xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:security=http://jboss.com/products/seam/security;
  | xmlns:mail=http://jboss.com/products/seam/mail;
  | xmlns:persistence=http://jboss.com/products/seam/persistence;
  | xmlns:transaction=http://jboss.com/products/seam/transaction;
  | xmlns:theme=http://jboss.com/products/seam/theme;
  | 
xmlns:international=http://jboss.com/products/seam/international;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-2.0.xsd
  | http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-2.0.xsd
  | http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-2.0.xsd
  | http://jboss.com/products/seam/mail 
http://jboss.com/products/seam/mail-2.0.xsd
  | http://jboss.com/products/seam/persistence 
http://jboss.com/products/seam/persistence-2.0.xsd
  | http://jboss.com/products/seam/transaction 
http://jboss.com/products/seam/transaction-2.0.xsd
  | http://jboss.com/products/seam/theme 
http://jboss.com/products/seam/theme-2.0.xsd;
  | 
  | core:init jndi-pattern=java:comp/env/ExamCenter-EE/#{ejbName}/local 
debug=true/
  | 
  | core:manager conversation-timeout=12
  |   concurrent-request-timeout=500
  |   conversation-id-parameter=cid/
  | 
  | persistence:entity-manager-factory 
name=examCenterEntityManagerFactory
  | 
persistence-unit-name=examCenterDatabase/
  | persistence:managed-persistence-context name=entityManager 
auto-create=true
  |  
entity-manager-factory=#{examCenterEntityManagerFactory}/
  | transaction:ejb-transaction/
  | 
  | ...
  | /components
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Multiple instances of one webapp

2007-09-20 Thread stefanstrobl
hi

thanks for the answer. unfortunately i am really new to jboss and therefore 
have a little difficulty finding my way around so just to make sure I get it 
right this time. (I've already spent hours trying to figure it all out)

i guess classloading isolation can be enabled like this:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

for jndi lookup
I have to create a seperate entry into the -ds.xml config file and then have to 
make the appropriate changes to the persistance*.xml files as well as to the 
jboss-beans.xml file.

in order to not have conflicting uris i have to probably change the 
context-root element in the application.xml file

am i missing anything?

thank you for your help
stefan

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

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


[jboss-user] [JBoss jBPM] - Re: Error introduced in 3.2.1

2007-09-20 Thread chawax
Hi, I have the same problem, I reported it here :
http://www.jboss.com/index.html?module=bbop=viewtopict=119089

Did you find a solution ?

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

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


[jboss-user] [JBoss Seam] - Re: EjbSynchronizations not bound

2007-09-20 Thread [EMAIL PROTECTED]
Post your application.xml.  You have something odd going on with JNDI lookup 
paths.  Your jndi-pattern should be

ear-name/#{ejbName}/local

and you should register jboss-seam.jar as an ejb module.

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

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


[jboss-user] [Beginners Corner] - Problems with Corba naming servise on Jboss.

2007-09-20 Thread danyshark
I am trying to connect to session bean via CORBA using jacorb client.
I am using jboss 4.0.4 GA and net beans IDE. I have added the following line:
 invoker-proxy-binding-nameiiop/invoker-proxy-binding-name
to the jboss.xml file in the session bean project.

Is the jboss CORBA naming service should start automatically on port 3528?
Or should I some how make it to start, because I don't see it via the TCPView?
What should be the connection string to the naming service if the jboss is on 
the same computer?

Please help me or give me some code examples.

thanks!


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

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


[jboss-user] [JBoss Seam] - Re: FYI: Seam 2 CR1 has been released

2007-09-20 Thread [EMAIL PROTECTED]
CR1 is now in maven with minimal poms 
http://repository.jboss.org/maven2/org/jboss/seam/

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

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


[jboss-user] [JBoss Seam] - Re: FYI: Seam 2 CR1 has been released

2007-09-20 Thread [EMAIL PROTECTED]
hafidzmalik wrote : Invalid url inside new jboss-seam-2.0.0.CR1\readme.txt
  | 
  | * Read the online FAQ http://www.jboss.com/products/seam/faq
  | 
  | should be
  | * Read the online FAQ http://labs.jboss.com/jbossseam/faq
  | 

Thanks, fixed this in CVS :)

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

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


[jboss-user] [EJB 3.0] - [AS 4.2.1] Persistence, EntitManager and dependency injectio

2007-09-20 Thread jonas_c
Hi!

We have experienced a problem in JBoss AS 4.2.1 GA.

We have succeeded in manager.createQuery(...).getResultList(); but only when 
forced to instantiate the EntityManager using EntityManagerFactory.

We have failed in using manager.persist(Object);.

Although we have created a workaround - that appears ugly in our eyes - since 
we wish to use code as nicely stated in the standard EJB3-specification - and 
obvoiusly many of you have succeeded in implementing and deploying those EJB3s.

Our workaround is to lookup UserTransaction and then our persistence works - 
persisting our Enterprise entity persists also its contact information, that is 
isolated in the Contact entity - so we belive that our entity beans are 
correct, and the persistence annotations also. We haven't encountered any 
problem is retrieving data.

@PersistenceContext(unitName=xyz) EntityManager manager;
When using the above annotations - the persist attempt results in console 
output that the instance of EnterpriseManager is null - in other words a 
NullPointerException of the EntityManger is thrown.
As we wrote on top of this message we were forced to instantiate the 
EntityManager using EntityManagerFactory as follows:
private EntityManagerFactory factory = 
Persistence.createEntityManagerFactory(xyz);
  | private EntityManager manager = factory.createEntityManager();

We have been considering if there could possibly be a deployment issue, or if 
it is a JBoss AS/EJB3 settings issue.

The JBoss AS 4.2.1 GA is almost equal to standard installation - only 
jmx-console password is changed.

We are using MySql 5 - and it's a InnoDB dialect in the database.

Since EntityManager  seems to work when retrieving data from the database - but 
not in persisting - we obvously start thinking that it might be related to our 
datasources and database drivers and setting etc.

To prevent that you have to ask us for more information instead of help guiding 
us to the right path with our problem - we provide as much information as we 
think is needed.

In the META-INF we have persistence.xml

  | persistence
  | persistence-unit name=xyz
  | jta-data-sourcejava:jdbc/XYZDS_XA/jta-data-source
  | properties
  | property 
name=hibernate.transaction.manager_lookup_classorg.hibernate.transaction.JBossTransactionManagerLookup/property
  | property name=hibernate.hbm2ddl.auto value=none/
  | property name=hibernate.show_sql value=true /
  | property name=format_sql value=true/
  | property name=hibernate.dialect 
value=org.hibernate.dialect.MySQL5InnoDBDialect / 
/properties
  | /persistence-unit
  | /persistence
  | 

In the servers/default/deploy we have xyz-xa-ds.xml(we have tried both 
local-tx-datasource and tx-datasource):

  | datasources
  | xa-datasource
  | jndi-namejdbc/XYZDS_XA/jndi-name
  | 
xa-datasource-classcom.mysql.jdbc.jdbc2.optional.MysqlXADataSource/xa-datasource-class
  | xa-datasource-property 
name=URLjdbc:mysql://localnetwordcomputername:3306/xyz/xa-datasource-property
  | user-nameusername/user-name
  | passwordpassword/password
  | max-pool-size5/max-pool-size
  | min-pool-size0/min-pool-size
  | blocking-timeout-millis2000/blocking-timeout-millis
  | idle-timeout-minutes2/idle-timeout-minutes  
track-connection-by-txtrue/track-connection-by-tx
  | new-connection-sqlset autocommit=1/new-connection-sql
  | no-tx-separate-poolstrue/no-tx-separate-pools
  | 
  | 
exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name
  | metadata
  | type-mappingmySQL/type-mapping
  | /metadata 
  | /xa-datasource
  | /datasources
  | 

Our service that we use is a Stateless EJB3:
EnterpriseService.java
package org.xyz.services;
  | 
  | import java.util.ArrayList;
  | import java.util.Collection;
  | import java.util.List;
  | 
  | import javax.ejb.Stateless;
  | import javax.ejb.TransactionManagement;
  | import javax.ejb.TransactionManagementType;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | import javax.persistence.EntityManager;
  | import javax.persistence.EntityManagerFactory;
  | import javax.persistence.Persistence;
  | import javax.persistence.PersistenceContext;
  | import javax.transaction.Status;
  | import javax.transaction.UserTransaction;
  | 
  | import org.xyz.dao.Contact;
  | import org.xyz.dao.Enterprise;
  | import org.xyz.dao.IEnterpriseService;
  | import org.xyz.dao.User;
  | 
  | @Stateless
  | @TransactionManagement(TransactionManagementType.CONTAINER)
  | public class EnterpriseService implements 

[jboss-user] [EJB 3.0] - [SOLVED] CascadeType.PERSIST question

2007-09-20 Thread ttrepper
Yes, that worked, thank you very much. :-)

Thomas

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

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


[jboss-user] [JBoss jBPM] - Re: Error introduced in 3.2.1

2007-09-20 Thread chawax
I had not seen that a new version was released a week ago. I upgraded to this 
version and there is no more problem ;)

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

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


[jboss-user] [JBoss jBPM] - Re: Lock problems after migrating to JBPM 3.2 and Seam 2.0

2007-09-20 Thread chawax
I solved the problem by migrating to 3.2.2 version.
It would be a good idea to replace the download link to 3.2.1 version on the 
JBpm home page of labs.jboss.org ;)

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

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


[jboss-user] [JBoss Seam] - Re: EjbSynchronizations not bound

2007-09-20 Thread wise_guybg
Hi, thanks for the reply.

I have seen java:comp/env/ added to one of the examples so I thought I could 
give it a try. The initial post was without comp/env...

Here is my application.xml:

  | ?xml version=1.0 encoding=UTF-8?
  | application xmlns=http://java.sun.com/xml/ns/javaee;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd;
  |  version=5
  | display-nameExamCenter/display-name
  | module id=ExamCenter-Ejb
  | ejbExamCenter-Ejb.jar/ejb
  | /module
  | module id=ExamCenter-Web-Admin
  | web
  | web-uriExamCenter-Web-Admin.war/web-uri
  | context-rootExamCenter-Web-Admin/context-root
  | /web
  | /module
  | /application
  | 

I'd like to ask if there is any configuration in the application server 
regarding jndi that should be done?

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

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


[jboss-user] [JBoss Seam] - Re: EjbSynchronizations not bound

2007-09-20 Thread wise_guybg
My jars are in the /lib folder of the ear. I deploy my application from an 
exploded folder.

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

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


  1   2   3   4   >