[jboss-user] [JBoss Portal] - Re: CMS Auditing

2006-12-12 Thread umesh14uv
Please explain is this feature available in this version (JBoss-portal-2.4.1 
CR, Any fresh development is going on in which will be available in next 
release.

Thanks
Umesh

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

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


[jboss-user] [EJB 3.0] - Re: Java Client of Embedded EJB3 into Tomcat5.5.20 problem

2006-12-12 Thread coral
hi all,
 I just wanna know whether it's prossible to use java class to call the 
embedded EJB3 running into Tomcat or not?

Thanks for any reply.
Best regard

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

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


[jboss-user] [JBoss jBPM] - jBPM 3.1 + Spring 2.0 + Tomcat 5 + TX demo app

2006-12-12 Thread dslevine
No one had one to share, so I'll post mine now that I figured it out... 
somewhat.  VERY rough demo app posted here:

http://wiki.jboss.org/wiki/Wiki.jsp?page=Jbpm31AndSpring20Demo

There is no identity integration yet, but the app runs with Spring, Hibernate, 
Tomcat, Transactions.  More info on the wiki page.

Let me know if there are any issues with getting it running -- I haven't done 
extensive testing.

dan


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

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


[jboss-user] [JBoss Seam] - Can't get Seam managed persistance working in an app scoped

2006-12-12 Thread krica
OK, this is not really a big deal, because it works when I change it to EJB 
managed (i.e. @PersistenceContext), but I'ld like to understand why it doesn't 
work.

I have an application-scoped bean that should be initialized at startup:


  | @Stateful
  | @Name("anonUserFactory")
  | @Startup(depends="org.jboss.seam.core.ejb")
  | @Scope(ScopeType.APPLICATION)
  | public class AnonUserFactory implements AnonUserFactoryInterface {
  | 
  | @Logger
  | protected Log log;
  | 
  | private User anonUser;
  | 
  | @In(create = true)
  | EntityManager theDatabase;
  | 
  | @Create
  | public void createAnonUser() {
  | try {
  | anonUser = (User) theDatabase.createQuery("blah 
blah").getSingleResult();
  | anonUser.populatePermissions();
  | }
  | catch (NoResultException e) {
  | log.fatal("Could not load anonymous user", e);
  | throw e;
  | }
  | }
  | 
  | @TransactionAttribute(NOT_SUPPORTED)
  | public User getAnonUser() {
  | return anonUser;
  | }
  | 
  | @Remove
  | @Destroy
  | public void destroy() {
  | }
  | }
  | 

For some reason, theDatabase is null when I try to use it. This same injected 
EntityManager works in other (non-startup) classes, so the datasource and all 
that is set up correctly. I get no exception, except of course the NPE when 
trying to use the EntityManager.

If I may throw in a related question. Seeing as this EntityManager is not 
needed after the @Create method, how can I close it. If I do, I get the 
exception stating that I cannot call close() on injected components. I've tried 
to get it via "Component.getInstance("em", true)" and all sorts of things, but 
it always returns null.

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

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


[jboss-user] [JBoss Seam] - Re: Generate a seam enabled JSF page from XML using XSLT

2006-12-12 Thread zmustansar
Main theme is to generate pages at runtime. I wanna store user requirements in 
XML or Db then generate JSF pages and place them in server. I am not sure what 
kind of page user wanna generate.



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

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


[jboss-user] [Beginners Corner] - Re: Error when trying to stop JBoss

2006-12-12 Thread thejavafreak
1. What version are you using?
2. What eclipse plugin are you using?

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

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


[jboss-user] [JBoss jBPM] - Re: Deploying process programatically, Hibernate

2006-12-12 Thread matthieugd
Yes it's an hibernate "issue". JBPM use a "native" ID assignement strategy so 
Hibernate use one sequence for all tables. The second process defintion has a 
ID with the value 2162 because 2161 elements exist already in the database.

Matthieu

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

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


[jboss-user] [JBoss Seam] - TOMCAT and SEAM with Pure POJOs

2006-12-12 Thread esoares
I have read the article about configuring a SEAM application for Tomcat :

http://labs.jboss.com/portal/jbossseam/j2ee/part02.html

 My application will not use Hibernate or EJB3 so I wonder if it is possible to 
setup JTA without using JPA/Hibernate.

cheers.

Eddy 



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

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


[jboss-user] [Beginners Corner] - Missing ws4ee jar files in JBoss 4.0.5.GA why?

2006-12-12 Thread mp123
Hello JBoss Folks,

While I'm trying to build medrec application by referring some of the jar files 
from JBoss 4.0.5.GA, found the missing jars as follows.

axis-ws4ee.jar 
  | jboss-ws4ee.jar

I have found these two jars in JBoss 4.0.4.GA at the following location. 
docs/examples/ws4ee/jboss-ws4ee.sar

But, the folder jboss-ws4ee.sar is not present in the latest release JBoss 
4.0.5.GA.

Where can I get the above two jar files for JBoss 4.0.5.GA and what is the 
reason for removing it in JBoss 4.0.5.GA release??



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

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


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

2006-12-12 Thread [EMAIL PROTECTED]
Hi,

I met the same problem. It seems in portal environment, the portlet can't get 
the hibernate session.

Is any suggestiong? Thanks!

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

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


[jboss-user] [EJB 3.0] - IllegalArgumentException calling getter

2006-12-12 Thread aejaz
Hi,

I am using JBoss 4.0.5 with MySQL 5.0.
I have the following Entity beans,

@Entity
public class Doctor implements Serializable{
private int id;
private String name;
private List phones;

@Id @GeneratedValue(strategy=GenerationType.AUTO)
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}

@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy 
= "doctor")
public List getPhones() {
return phones;
}

public void setPhones(List phones) {
this.phones = phones;
}
}


@Entity
public class DoctorPhone implements Serializable{
//A single phone number belongs to one doctor
//One doctor has many phone numbers
private int id;
private String phoneNumber;
private Doctor doctor;

public DoctorPhone() {
super();
}

@Id @GeneratedValue(strategy=GenerationType.AUTO)
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}

@ManyToOne
@JoinColumn(name = "doctor_id")
public Doctor getDoctor() {
return doctor;
}
public void setDoctor(Doctor doctor) {
this.doctor = doctor;
}
}


I have a stateless bean which persists a Doctor object with the following 
method,


@PersistenceContext(unitName="htdb")
private EntityManager manager;

public int saveDoctor(Doctor doc) {
manager.persist(doc);
return doc.getId();
}

>From the client side, I create a doctor object, an Arraylist of DoctorPhone 
>objects & call setPhones() on the doctor object passing this arraylist. Then I 
>do a lookup for the the stateless bean & call saveDoctor() & pass the doctor 
>object. I am getting the Exception,

javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: 
IllegalArgumentException occurred calling getter of 
com.ht.server.entities.DoctorPhone.id

I am sure that I am missing something basic here. Please help. I am attaching 
the Exception trace.

Thanks in advance.
-Aejaz

Exception in thread "main" javax.ejb.EJBException: 
javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: 
IllegalArgumentException occurred calling getter of 
com.ht.server.entities.DoctorPhone.id
at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:263)
at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
at 
org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681)
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358)
at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:398)
at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
Caused by: javax.persistence.PersistenceException: 
org.hibernate.PropertyAccessException: IllegalArgumentException occurred 
calling getter of com.ht.server.entities.DoctorPhone.id
at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:647)
at 
org.hibernate.ejb.AbstractEntityManagerImpl.persist(Abstr

[jboss-user] [Beginners Corner] - Re: please help me to start jboss

2006-12-12 Thread thejavafreak
Why would you need the 'all' server?
Do you need clustering features?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Sun Creator and JBoss

2006-12-12 Thread thejavafreak
"[EMAIL PROTECTED]" wrote : Do you know of a better IDE?
Have you tried:
1. Netbeans 5.5
2. Eclipse with myEclipse plugin

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

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


[jboss-user] [Clustering/JBoss] - Re: Clustering in Jboss-3.2.7

2006-12-12 Thread adusumalli
"adusumalli" wrote : How to implement Clustring in Jboss-3.2.7

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

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


[jboss-user] [Advanced Documentation] - batch file for running a build.xml in JBoss

2006-12-12 Thread poornimaj
wat is the tool for running ant script in JBoss. For example with websphere, we 
have ws_ant.bat. 

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

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


[jboss-user] [Clustering/JBoss] - Clustering in Jboss-3.2.7

2006-12-12 Thread adusumalli
How to implementing Clustring in Jboss-3.2.7

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

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


[jboss-user] [JBoss Seam] - Re: Iterating over @Factory list - c:forEach vs ui:repeat

2006-12-12 Thread jazir1979
Nevermind... it's happening because TOMAHAWK panelNavigation2 only renders 
direct children that are menu items, which means my ui:repeat isn't even being 
rendered.

Many apologies... *runs off to finally remove tomahawk from my codebase, after 
ignoring your warnings*


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

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


[jboss-user] [JBossCache] - Re: JBoss PojoCache 2.0: Bug in CachedListImpl?

2006-12-12 Thread [EMAIL PROTECTED]
OK, this is a bug we will fix then. I have created a Jira to track it.

http://jira.jboss.com/jira/browse/JBCACHE-904

Thanks!


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

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


[jboss-user] [EJB 3.0] - Re: display data

2006-12-12 Thread weiming
public Collection getUser(){
String oql = "select u from UserCredentialsEntity u";

return em.createQuery(oql).getResultList();
}

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

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


[jboss-user] [JBoss Seam] - Re: Update Seam JSF library againts JBoss5

2006-12-12 Thread thejavafreak
Again from the same example (seam-numberguess). This error stack arise when I 
hit the application from the browser.

2006-12-13 12:27:00,680 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-numberguess].[jsp]]
 Servlet.service() for servlet jsp threw exception
  | java.lang.NullPointerException
  | at 
com.sun.faces.taglib.jsf_core.ValidateLongRangeTag.(ValidateLongRangeTag.java:75)
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | at java.lang.reflect.Constructor.newInstance(Constructor.java:506)
  | at java.lang.Class.newInstance0(Class.java:355)
  | at java.lang.Class.newInstance(Class.java:308)
  | at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:126)
  | at 
org.apache.jsp.numberGuess_jspx._jspx_meth_f_005fvalidateLongRange_005f0(numberGuess_jspx.java:435)
  | at 
org.apache.jsp.numberGuess_jspx._jspx_meth_h_005finputText_005f0(numberGuess_jspx.java:407)
  | at 
org.apache.jsp.numberGuess_jspx._jspx_meth_h_005fform_005f0(numberGuess_jspx.java:193)
  | at 
org.apache.jsp.numberGuess_jspx._jspx_meth_f_005fview_005f0(numberGuess_jspx.java:127)
  | at org.apache.jsp.numberGuess_jspx._jspService(numberGuess_jspx.java:94)
  | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:390)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:404)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
  | at 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:413)
  | at 
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:480)
  | at 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)
  | at 
org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:86)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:818)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11Connect

[jboss-user] [EJB 3.0] - Re: display data

2006-12-12 Thread weiming
Sorry, I post the wrong code in javabean, the correct one is:

public Collection getUser(){
String oql = "select u from UserCredentialsEntity u";

return em.createQuery(oql).getResultList();
}

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

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


[jboss-user] [JBoss Seam] - Re: Iterating over @Factory list - c:forEach vs ui:repeat

2006-12-12 Thread jazir1979
"[EMAIL PROTECTED]" wrote : It should work.

It definitely isn't working.  I've just come back to this, because it's really 
becoming an issue (I need ui:repeat, not c:foreach).

I'm trying to work out why the UIRepeat component with value "#{moduleList}" is 
not attempting to call into my factory method, and I'm just after some hints on 
where to look...

Should this go through SeamVariableResolver?  I see no logging like "resolving 
name: moduleList" anywhere.

Or is it SeamELResolver (which I'm not sure is configured, as it's commented 
out in Seam's faces-config.xml)?  Am I looking in the right place at all - 
exactly how does Seam tie together the JSF ValueBinding resolution with Seam 
Component lookups?

I'm happy to go debugging this myself, with some pointers.. :)

cheers,
Daniel.


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

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


[jboss-user] [JBoss Seam] - Re: Encoded Request Parameter

2006-12-12 Thread chane
This is the link I am using:

 http://somedomain.com/action.seam?param1=v1¶m2=v2

For some reason it seams that the browser encodes the link to use "&" instead 
of just "&".

I figured this is probably a JSF/Tomcat issue; but it seems like for the short 
term I can solve it in Seam.  I modified Component like this:


  | 
  |private Object convertMultiValueRequestParameter(Map 
requestParameters, String name, Class type)
  |{
  |   String[] array = requestParameters.get(name);
  |   
  |   if(array == null || array.length==0){
  |  array = requestParameters.get("amp;"+name);
  |   }
  |   
  |   if (array==null || array.length==0)
  |   {
  |  return null;
  |   }
  |   else
  |   {
  |  if ( type.isArray() )
  |  {
  |int length = Array.getLength(array);
  |Class elementType = type.getComponentType();
  |Object newInstance = Array.newInstance(elementType, length);
  |for ( int i=0; ihttp://jira.jboss.org/jira/browse/JBSEAM-326).  
None of them are difficult, just need some time.

Thanks,
Chris

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

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


[jboss-user] [JBoss Seam] - Re: Is Seam 1.1 usable against JBoss AS 5?

2006-12-12 Thread thejavafreak
Hi norman,

Thanks for the reply. Since the problem I found so far is related to library, I 
shall put it under the same topic I created before 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993243.

Thanks in advance

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

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


[jboss-user] [JBoss Seam] - Re: Update Seam JSF library againts JBoss5

2006-12-12 Thread thejavafreak
Hi guys,

I shall put problems related to library that I found when deploying Seam apps 
on JBoss AS 5 here. Actually I am quite confused whether to put this topic on 
Seam sub-forum or the EJB container sub-forum. But since Norman asked, here it 
goes.

Currently I am testing Seam 1.1.0CR1 on JBoss AS 5.0.0Beta1

I found this error stack when deploying seam-numberguess example from Seam 
1.1.0CR1

  | 2006-12-13 11:15:37,167 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-numberguess]]
 Exception sending context initialized event to listener instance of class 
org.jboss.seam.servlet.SeamListener
  | java.lang.NoClassDefFoundError: net/sf/cglib/proxy/MethodInterceptor
  | at 
org.jboss.seam.init.Initialization.addComponent(Initialization.java:724)
  | at 
org.jboss.seam.init.Initialization.addComponents(Initialization.java:605)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:407)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
  | 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:589)
  | at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:315)
  | at 
org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
  | at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
  | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
  | at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
  | 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:589)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at 
org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | at 
org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
  | at 
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
  | at 
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
  | at 
org.jboss.system.ServiceController.doChange(ServiceController.java:656)
  | at org.jboss.system.ServiceController.start(ServiceController.java:431)
  | at 
org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
  | at 
org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
  | at 
org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
  | at 
org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
  | at 
org.jboss.deployer

[jboss-user] [EJB 3.0] - display data

2006-12-12 Thread weiming
Hi, I have a problem with displaying data on jsp page. It is similar to the 
TrailBlazers and did work before by the way. Wish anyone give me some helps, 
thanks.

The method in javabean is:

public Collection getUser(){
String oql = "select u from UserCredentialsEntity u";

return em.createQuery(oql).getResultList();
}

The code in jsp page is:

<%
Collection people = aUser.getUser();
   for(Iterator iter = people.iterator(); iter.hasNext();){
   UserCredentialsEntity user  = (UserCredentialsEntity)iter.next();
%>
   Username: <%=user.getUsername() %>
<% 
   }
%>

The error message is:
org.apache.jasper.JasperException: Exception in JSP: /test.jsp:29

26: <%
27: Collection people = aUser.getUser();
28:for(Iterator iter = people.iterator(); iter.hasNext();){
29:UserCredentialsEntity user  = (UserCredentialsEntity)iter.next();
30: %>
31:Username: <%=user.getUsername() %>
32: <% 


Stacktrace:

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.ClassCastException: com.SurveyMaker.ejb.entity.UserCredentialsEntity
org.apache.jsp.test_jsp._jspService(test_jsp.java:76)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - setting Isolation Levels

2006-12-12 Thread harisharma
 Hi, 

 i need info regarding " Hoe to set Isolation Level in EJB 3.0 (CMP)"

Problem Description : 
  
i have a scenario where i need to set the ISOLATION LEVEL inorder to 
eliminate the concurrency ISSUE. i came to know that to set Isolation level we 
need connection object. but how to get the Connection object which is pooled by 
JBOSS and used by Enity manager. i have created the Conection object with the 
same JNDI name which is used in the JBOSS_DS.xml. but this is not working coz 
this is a new object which is not creaed and pooled by the Jboss. please let me 
know the way how we can get the connection object used by the Entity Manager. 



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

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


[jboss-user] [JBoss Portal] - Re: Custom profile information for users

2006-12-12 Thread vipinmpd08

Hi

but how to search frm the map collections

Thanks


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

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


[jboss-user] [Security & JAAS/JBoss] - User credentials lost after remote EJB call

2006-12-12 Thread annie1234
Hi
I have a J2EE application that runs on JBoss 4.0.3. The application consists of 
a web front-end and a EJB 2.1 Stateless Session Bean to implement our business 
logic.
 
Users are authenticated by logging into the web interface. A JAAS LoginModule 
is used to create a security realm for our web tier (configured in our web.xml 
& jboss-web.xml files). When a business method is invoked on the SSB the users 
credentials are correctly propagated to the EJB container (the same security 
realm has been configured in our jboss.xml file).
 
At this stage declarative security (to apply role permissions to EJB methods in 
ejb-jar.xml) and programmatic security (to access users principal & role using 
the interface methods SessionContext.getCallerPrincipal().getName() & 
SessionContext.isCallerInRole("Admin") respectively) work correctly.
 
The problem arises when an EJB makes a remote call to another remote EJB on 
another host with a different username/password . After  successfully returning 
from this remote call our original SSB appears to have an incorrect 
SesssionContext.

The remote lookup and operation to the second EJB is done using the following 
function:

 void changeRemoteBlah(){   
 // At this point the SessionContext for the current user on the current 
local ejb is ok, and we can call local authorized methods
  Properties env = new Properties();
  env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.security.jndi.JndiLoginInitialContextFactory");
  env.setProperty(Context.SECURITY_PRINCIPAL, "remoteAdmin");
  env.setProperty(Context.SECURITY_CREDENTIALS, password);

  InitialContext ctx = new InitialContext(env);
  Object o =  ctx.lookup(jndiRemote);
  BlahManagerRemoteHome home = (BlahManagerRemoteHome) 
PortableRemoteObject.narrow(o, BlahManagerRemoteHome.class);
  BlahManagerRemote manager = home.create();
  manager.deployBlah();
 
  return;
 // after the return the SessionContext for the caller EJB is wrong, and we can 
no longer call our own (local) ejb methods that have authorization on them
}

Debug logs after the remote call, upon returning to the 1st EJB:

org.jboss.security.SecurityAssociation.getSubject,[EMAIL 
PROTECTED],subject=null}
org.jboss.security.SecurityAssociation.getPrincipal, cache info: [EMAIL 
PROTECTED](27545610)[EMAIL PROTECTED](Admin)[EMAIL 
PROTECTED](Roles(members:Admin)),[EMAIL PROTECTED],expirationTime=1165984451664

The getPrincipal call shows the correct original user, however the getSubject 
call shows the user that was used for the remote call. Does anyone know why 
this is the case and how to fix it?

Alternatviely as a workaround solution we have considered storing a local copy 
of the Users details (SessionContext.getUserRole(), etc) in the method and 
somehow restore them after completing each remote call to the other ejb. Does 
anyone know how to to reset these details into the current SessionContext?

Thanks,
Annie

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

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


[jboss-user] [JBoss Seam] - Re: Encoded Request Parameter

2006-12-12 Thread [EMAIL PROTECTED]
Um, how are you adding the parameters? What happens if you try Seam 1.1?

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

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


[jboss-user] [JBoss Seam] - Re: Acess Task variables and show them with task list

2006-12-12 Thread [EMAIL PROTECTED]
anonymous wrote : #{task.variables['orderId']}

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection and master-detail pages

2006-12-12 Thread SmokingAPipe
Ok, now it is making sense.  I had to have a @Begin method, which then took the 
DataModelSelection and put it into another variable which is outjected.  The 
@Begin makes the conversation long-lasting instead of temporary, and then the 
object is outjected and can be accessed.  So that's very cool, it now works.

I'm also now using the Seam-managed persistence context.  Hopefully that will 
stop any LIEs from showing up.  I'll find out soon.

This temporary conversation thing wasn't obvoius to me, and neither was the 
SMPC, because SMPC is only really talked about in detail in Chapter 9 of the 
Seam docs.  But that's ok, now I'm figuring out how to make it all work.


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

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


[jboss-user] [Beginners Corner] - Re: Applets communicating with EJBs

2006-12-12 Thread newhere
Was this a bug that was fixed years ago and now a regression??

http://www.mail-archive.com/jboss-development@lists.sourceforge.net/msg07112.html



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

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


[jboss-user] [EJB/JBoss] - Unit Testing Practices

2006-12-12 Thread jantzen
Greetings,

Is there a standard way of unit testing EJBs?  My goal is to test Entity and 
Stateless session beans using JUnit, and without deploying them to the server.

It looks like EJB3 Embedded is an option, but that seems like a poorly 
maintained and supported project (still in alpha since last year). Not to 
mention I have to roll my own solution choosing a subset of the Jars packaged 
there and somehow integrate them and their configuration files into my 
application, as it's just a collection of samples and Jars.

How are other people handling this issue?  Is there discussion elsewhere?



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

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


[jboss-user] [JBoss jBPM] - schema table choice for hibernate mapping files

2006-12-12 Thread dslevine
Hello Again,

I've been slogging along with my Spring JBPM integration and hope to be able to 
contribute a working demo app in the near future.  Along the way I have many 
questions, of which here is one:

 - Why are the tables all defined in the default schema instead of in a jbpm 
specific schema?  Would that make it dependent on the DB?

The way my app is set up, using Oracle, I define groups of related app 
functionality in separate schemas.  The tables in the hbx xml files are defined 
as table="SCHEMA.TABLE".  As it stands with jBPM, my default root schema has to 
absorb all of the JBPM tables, or I have to edit each of the hibernate files 
and strip them out of the jar... which I could do I guess.

Was this done because other DBs dont use this syntax, or for another reason, or 
for no reason in particular?

Thanks!

dan

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

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


[jboss-user] [JBoss jBPM] - JBPM BPEL how to support human task management?

2006-12-12 Thread Bpel_hisun

 I need to human task management in process, but I don't know whether JBPM BPEL 
support it? 
  And I know IBM support BPEL4Pepole extending to BPEL? Anyone tell me the 
method in JBPM BPEL? 
  Best regard!

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

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


[jboss-user] [JNDI/Naming/Network] - How to talk to Remote Queue Without MDB?

2006-12-12 Thread vb0172
Hi, 

I want to let local queue talk to Remote Queue .but i want not use MDB,beacuse 
i have to use the resources of Servlet in Web container.
Can anybody help me please. 

Thanks in advance. 

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

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


[jboss-user] [JBoss Seam] - Seam + Tomcat + microcontainer without ejb3

2006-12-12 Thread lle
Hi,

I downloaded Seam 1.1CR2 and installed the jboss-seam-hibernate examples.  
Everything worked fine if I included hibernate-all.jar and jboss-ejb3-all.jar

However, if I removed these 2 files and replace the hibernate-all.jar with the 
4 jar files under hibernate/lib directory (ejb3-persistence.jar, 
hibernate3.jar, hibernate-annotations.jar, hibernate-entitymanager.jar), then I 
will get two ClassNotFoundException for the following class at Tomcat startup:


  | org.jboss.logging.util.OnlyOnceErrorHandler
  | javax.jms.ExceptionListener
  | 
  | 
  | The first one is due to the following configuration in log4j.xml under 
microcontainer/conf:
  | 
  | 
  | The second one is due to the component initialization of remoting 
SubscriptionRegistry .
  | 
  | According to Gavin in one of the topics, for Seam 1.1CR2, we can remove the 
jboss-ejb3-all.jar for Tomcat installation and if we do not use ejb3.  That 
doesn't seem to be the case.  Is there any other smaller jar we can use so that 
it won't generate any errors if we don't use ejb3?
  | 
  | Thanks.

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

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


[jboss-user] [EJB 3.0] - Re: Deploy ejb failed

2006-12-12 Thread lpoliver27
I found it. Exactly the bean metthod is not same as the remote metthod.
 
MutableUser addMobileTagUser(MutableTagUser, int, boolean) throws CodeExceptiont

is not same as bean method. In bean class, it used MutableTagUser super class 
instead of MutableTagUser. But there was no error when we deployed our 
application in a old ejb container.

Is it a bug with the old container?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Exception thrown on CVS.20061211 and CVS.20061212

2006-12-12 Thread gus888
Hi Shane, Thank you very much.

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

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


[jboss-user] [JBossWS] - Re: Issue with JBossWS15 Distribution

2006-12-12 Thread pshankar
Thanks Steve much. My deployment directory was having a pre-existing 
jbossws-14.sar where I upgraded to 1.5. I was assuming both independently 
loaded and managed.


The cleanup of old sar fixes the server error.


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

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


[jboss-user] [JBoss Seam] - EntityQuery refresh

2006-12-12 Thread jimk1723
Question related to 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=97071...

I'm trying to set up an EntityQuery as the basis for an auto-complete list; the 
resultList is updated on an ajax4jsf request which is working fine. The problem 
I'm running into is it seems the EntityQuery is refreshed during Apply Request 
Values before the model object that's providing the restriction is updated, 
i.e. it works, but it's always one character behind on keypress.

I have a different working version that uses an action method (i.e. Invoke 
Application)  along with a programmactically created EntityQuery (see the other 
thread), but I'd love to do away with all of this and just define the query 
component in components.xml.

And ideas on how to get EntityQuery to refresh later?





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

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


[jboss-user] [Beginners Corner] - Applets communicating with EJBs

2006-12-12 Thread newhere
Hello gurus,
I am trying to follow the example here:
http://www.huihoo.com/jboss/online_manual/3.0/ch13s21.html

Though slightly modified so I could debug a bit. (needed to add some additional 
jars to the applet's ARCHIVE tag, use Context.XXX constants as opposed to hard 
coded strings for keys when creating the jndi properties for the 
InitialContext, etc)

After calling InitialContext.lookup( myJndiName );
I get the following exception (on the client side)

  | 
  | java.security.AccessControlException: access denied 
(java.util.PropertyPermission SERIALIZATION read)
  | at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
  | at 
java.security.AccessController.checkPermission(AccessController.java:427)
  | at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
  | at 
java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
  | at java.lang.System.getProperty(System.java:662)
  | at 
org.jboss.remoting.serialization.SerializationStreamFactory.(SerializationStreamFactory.java:54)
  | at 
org.jboss.invocation.unified.interfaces.JavaSerializationManager.register(JavaSerializationManager.java:80)
  | at 
org.jboss.invocation.unified.interfaces.JavaSerializationManager.register(JavaSerializationManager.java:61)
  | at 
org.jboss.invocation.unified.interfaces.JavaSerializationManager.(JavaSerializationManager.java:55)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:164)
  | at 
org.jboss.invocation.InvokerInterceptor.(InvokerInterceptor.java:86)
  | at sun.misc.Unsafe.ensureClassInitialized(Native Method)
  | at 
sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:25)
  | at 
sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)
  | at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
  | at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
  | at java.lang.reflect.Field.getLong(Field.java:527)
  | at 
java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1586)
  | at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
  | at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:408)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.io.ObjectStreamClass.(ObjectStreamClass.java:400)
  | at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
  | at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:531)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
  | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | at 
org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:156)
  | at 
java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
  | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
  |

[jboss-user] [JBoss Seam] - Exception thrown on CVS.20061211 and CVS.20061212

2006-12-12 Thread gus888
Hi Gavin,

I tried to test @RequestParameter on Seam-Icefaces, but I got drools exception 
as below. I didn't use Drools in my codes.
18:59:48,296 ERROR [[/seam-cvn]] Exception sending context initialized event to 
listener instance of class org.jboss.seam.servlet.SeamListener
  | java.lang.NoClassDefFoundError: org/drools/WorkingMemory
  | at java.lang.Class.getDeclaredMethods0(Native Method)
  | at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
  | at java.lang.Class.getDeclaredMethods(Class.java:1763)
  | at org.jboss.seam.Component.initMembers(Component.java:413)
  | at org.jboss.seam.Component.(Component.java:253)
  | at org.jboss.seam.Component.(Component.java:204)
  | at 
org.jboss.seam.init.Initialization.addComponent(Initialization.java:742)
  | at 
org.jboss.seam.init.Initialization.addComponents(Initialization.java:674)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:429)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  | at 
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  | at org.jboss.web.WebModule.startModule(WebModule.java:83)
  | at org.jboss.web.WebModule.startService(WebModule.java:61)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl

[jboss-user] [JBossWS] - Mapping Problems

2006-12-12 Thread elcapitan
G'day all,

I'm just getting started writing an application, and I'm dealing with JBossWS 
for the first time. I've been banging my head against a brick wall for some 
time now, and haven't been able to find an answer anywhere (although I'm now 
suffering from serious information overload).

Basically, I'm running two components. The first is an EJB3 stateless session 
bean "server", deployed in JBoss 4.0.5; the second is a very simple standalone 
client. The server deploys fine, and responds appropriately to requests made 
using soapUI; however, although the client compiles fine, attempting to run it 
provides the following stack trace:

[java] Exception in thread "main" org.jboss.ws.WSException: Cannot obtain java 
type mapping for: 
{http://servercontroller.application.server.webcrawler.thedistillery
  | .com.au/jaws}addItemToWatchList
  | [java] at 
org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:451)
  | [java] at 
org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200)
  | [java] at 
org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaDataInternal(JSR109ClientMetaDataBuilder.java:208)
  | [java] at 
org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:126)
  | [java] at 
org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82)
  | [java] at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96)
  | [java] at 
org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
  |  [java] at 
org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
  | [java] at 
au.com.thedistillery.webcrawler.server.application.servercontroller.TestWebService.main(TestWebService.java:23)

My initial thought were that I was using a complex type that wasn't being 
mapped properly, however when I stripped the code down to only using the 
available literals (i.e. long, String, etc.), I kept getting the same error. I 
have tried using wstools to generate artifacts, however, all I get is a bunch 
of Java files which, when integrated into the client, return an almost 
identical error. I have also managed to generate an XML mapping file - do I 
need to deploy this or make it available to the client in some way?

The client code, in full, is (the class WatchList is a POJO with some very 
simple attributes, all of which are Java primitives):

  | package au.com.thedistillery.webcrawler.server.application.servercontroller;
  | 
  | import 
au.com.thedistillery.webcrawler.server.application.servercontroller.WatchListManagerInterface;
  | 
  | import javax.xml.namespace.QName;
  | import javax.xml.rpc.Call;
  | import javax.xml.rpc.Service;
  | import javax.xml.rpc.ServiceFactory;
  | import java.net.URL;
  | import java.io.File;
  | 
  | public class TestWebService
  | {
  |public static void main(String[] args) throws Exception
  |{
  |   URL url = new 
URL("http://localhost:8080/crawler/WatchListManager?wsdl";); // from xml files, 
soap address, last line
  |   QName qname = new 
QName("http://servercontroller.application.server.webcrawler.thedistillery.com.au/jaws";,
  |   "WatchListManagerInterfaceService");//first line from 
xml file
  |   
  | 
  |   ServiceFactory factory = ServiceFactory.newInstance(); 
  |   Service service = factory.createService(url, qname);// create service
  | 
  |   WatchListManagerInterface cm = (WatchListManagerInterface) 
service.getPort(WatchListManagerInterface.class);
  | 
  |   cm.createWatchList("frank", 1000);  
  |}
  | }

The endpoint interface I'm using looks like:

package au.com.thedistillery.webcrawler.server.application.servercontroller;
  | 
  | import java.net.URI;
  | import java.util.List;
  | 
  | import javax.jws.WebMethod;
  | import javax.jws.WebService;
  | 
  | @WebService
  | public interface WatchListManagerInterface {
  | 
  | /* Methods that provide access to manipulation functionality of 
WatchLists */
  | 
  | @WebMethod public int createWatchList(String name, long 
durationMilliSeconds);
  | @WebMethod public boolean deleteWatchList(int watchListID);
  | 
  | @WebMethod public boolean addItemToWatchList(int watchListID, URI 
itemURI);
  | @WebMethod public int getWatchListItemID(int watchListID, URI itemURI);
  | @WebMethod public boolean removeItemFromWatchList(int watchListID, int 
watchListItemID);
  | 
  | @WebMethod public WatchList getWatchList(int watchListID);
  | @WebMethod public WatchList[] getAllWatchLists();
  | @WebMethod public boolean updateWatchList(WatchList updatedWatchList);

I can provide more code if necessary.

Thanks in advance,

James

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

Reply to the post : 
h

[jboss-user] [JBoss Portal] - Portal Request Architecture

2006-12-12 Thread [EMAIL PROTECTED]
Nirvana would be a fully working demo that shows us how to build portlets using 
Seam + Facelets (.xhtml not JSP) + [IceFaces or Ajax4JSF] with support for 
Conversations etc.

Some of the mechanisms/APIs you'd need to understand include:

- JSF's 7 step request lifecycle
- Portlet's lifecycle
- SeamExtendedManagerPersistentPortletPhaseListener
- Seam (JSF) Listener
- PortalServlet 
- MyFacesGenericPortlet
- com.icesoft.faces.facelets.D2DSeamFaceletViewHandler

If anyone would share their knowledge of how these concepts are integrated, 
they would earn the respect and admiration of many. I'm trying hard to do it 
myself, but I'm on a steep learning curve - I come from a simple STRUTS b/g and 
am a newbie with the use of AOP,  Interceptors, JSF, etc.

Would any of the JBoss courses (or combination)  be able to provide such 
knowledge ?

Just thought I'd ask. I realise that if I could wait long enough a new version 
of Portal would eventually appear that does provide these things.

Thanks in advance

Ian
Sydney

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

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


[jboss-user] [JBossWS] - Issue with JBossWS15 Distribution

2006-12-12 Thread pshankar
anonymous wrote : I Followed the instruction as given in the install note to 
get the webservices working.
  | In order to install JBossWS the following steps are necessary:
  | My Server Bombed after restart. It is miserably giving errors
  | 1.) Copy lib/jbossws-client.jar to /client/
  | 2.) Unzip lib/jbossws.sar to /server//deploy/
  | 3.) Replacing JBossXB
  | 
  | In order to upgrade to 1.0.3 you need to manually replace the 
jboss-xml-binding.jar 
  | in the JBOSS/client and JBOSS/lib directories. 
  | The 4.0.4GA compatible release can be found here:  
  | http://repository.jboss.com/jboss/jbossxb/1.0.0.CR6/
  | 
  | My Server Bombed after restart. It is miserably giving errors
  | 
Version of the server JBoss4.0.5.GA

19:20:28,913 ERROR [MainDeployer] Could not create deployment: 
file:/C:/jboss-4.0.5.GA/server/default/deploy/META-INF/jboss-service.xml
  | org.jboss.deployment.DeploymentException: Trying to install an already 
registered mbean: jboss.ws:service=WebServiceClientDeployer
  | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
  | at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
  | at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
  | at 
org.jboss.system.ServiceController.install(ServiceController.java:226)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.install(Unknown Source)
  | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(Abs

[jboss-user] [JBoss Seam] - Re: Programatic example for Query Objects

2006-12-12 Thread jimk1723
This may not be what you're looking for, but here's a sample where I'm using an 
EntityQuery to populate an auto-complete list of names (forgive any syntax 
errors, I cribbed this from my working code, but changed the names.). 



  | @In(required = false)
  | Person examplePerson;
  | 
  | @Out(required = false)
  | EntityQuery people;
  | 
  | @Factory("people")
  | public void refreshPeople() {
  | 
  |  List restrictions = new ArrayList();
  |  restrictions.add("lower(name) like lower( #{examplePerson.name} || '%' )");
  | 
  |  people = new EntityQuery();
  |  people.setEjbql("from Person");
  |  people.setOrder("name");
  |  people.setMaxResults(10);
  |  people.setRestrictions(restrictions);
  | }



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



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

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


[jboss-user] [Testimonials] - Re: JBoss Reference

2006-12-12 Thread genman
http://www.alfresco.com/products/

Runs on JBoss ...

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

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


[jboss-user] [JBossWS] - Re: Issue with JBossWS15 Distribution

2006-12-12 Thread stevenh
The message:
Trying to install an already registered mbean: 
jboss.ws:service=WebServiceClientDeployer

indicates that you have managed to get two instances of the 
webserviceclientdeployer bean in your deployment directory. 

you should ensure that when you deploy the new sar that it is going over the 
top of the old one.  

Steve

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

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


[jboss-user] [JBoss Seam] - Re: Exception thrown on CVS.20061211 and CVS.20061212

2006-12-12 Thread sbryzak2
It was my fault, it's fixed now.

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

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


[jboss-user] [EJB 3.0] - Re: Problem with Stateful EJB

2006-12-12 Thread violon
Thanks for your help.

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

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


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

2006-12-12 Thread lg-jbpm
Thanks for your reply. I did figure out how it worked, but I haven't checked 
this thread in a while. 

previous --> group(hierarchy) --> member(boss) 

This means: find the group for the last user where grouptype is 'hierarchy'. In 
this group find the user who has the role of 'boss'.

This will basically assign the next task to the last user's boss.

- lg



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

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


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

2006-12-12 Thread cocampo
http://www.catb.org/~esr/faqs/smart-questions.html

Regards.

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

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


[jboss-user] [JBossWS] - Axis /JBoss question

2006-12-12 Thread Yueh2k6
Hi,

 Hi,

I used Axis 1.1 to generated Java proxies and hosted the JSPs that invoke 
these proxies on Jboss 4.0.  I'm getting the following error :

org.apache.jasper.JasperException: org.apache.axis.ConfigurationException: 
org.apache.axis.ConfigurationException: No engine configuration file - aborting!
org.apache.axis.ConfigurationException: No engine configuration file - aborting!
at 
org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:224)
at org.apache.axis.AxisEngine.init(AxisEngine.java:199)
at org.apache.axis.AxisEngine.(AxisEngine.java:181)
at org.apache.axis.client.AxisClient.(AxisClient.java:90)
at org.apache.axis.client.Service.getAxisClient(Service.java:374)


It looks to be missing some config file, although I'm not sure what.

Any ideas?


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

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


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

2006-12-12 Thread highlnd
Don't bother ending your replies with "Regards" when you obviously have no 
regard for anyone who is new to jBPM.

Also, as you read my post, try to suspend your lack of any kind of 
interpersonal skills for a moment. If you don't have anything polite to say, 
don't even bother. I have read several of your other posts and almost all of 
them are hostile to someone who hasn't (in your opinion) RTFM, STFF or STFW.

Perhaps they don't understand the technology well enough to search for the 
right things yet and by asking questions they can learn. What is, after all, 
the point of these forums if new users are afraid of getting flamed by elitists 
like you just because its been deemed their question isn't good enough.

Regards.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse Server config for AppServer-5-Beta1

2006-12-12 Thread [EMAIL PROTECTED]
The latest beta...

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

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


[jboss-user] [EJB 3.0] - Re: Permanent interceptor

2006-12-12 Thread jc7442
I have done something like this to catch unexpected exception and perform some 
action before sending the exception to the client. 
I use interceptor taht I have added in ejb3-interceptors-aop.xml.

I'm quite happy with that.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - SystemException: enlistResource failed

2006-12-12 Thread ankurdotshah
Hi,

I am using jboss 4.0.1sp1 and am in the process of migrating the data from 
mysql to IDS (informix). I've gotten most things migrated over (or atleast i 
think i have) and our server also comes up. While logging into our application 
however, i see this error. Basically the idea is to validate the credentials of 
the user logging in against the database entry and that's where i get this 
exception.

Some additional pieces of information:

1. We are using CMP EJBs (ver. 2.x)
2. The exception happens while doing an ejbSelect operation. The select 
operation essentially gets the admin user name in the database and validates 
against one entered on the portal.

Any help will be greatly appreciated. I have done extensive research on this 
and needless to say googled the crap out to get an answer without much luck.



12-12-2006 12:20:18.425| INFO | http-0.0.0.0-7080-Processor25| 
org.jboss.resource.connectionmanager.TxConnectionManager| | | | | | |Could not 
enlist in transaction on entering meta-aware object!
javax.transaction.SystemException: enlistResource failed
at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:448)
at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:324)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:454)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838)
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:189)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:128)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.execute(JDBCSelectorBridge.java:99)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.invoke(JDBCSelectorBridge.java:70)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
at com.orative.persistence.user.UserBean$Proxy.ejbSelectByUserNameAndStatus()
at com.orative.persistence.user.UserBean.ejbHomeGetByHandle(UserBean.java:238)
at com.orative.persistence.user.UserBean.ejbHomeGetByHandle(UserBean.java:225)
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.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1126)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:126)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:99)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
at org.jboss.ejb.Container.invoke(Container.java:891)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342)
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
at $Proxy62.getByHandle(Unknown Source)
at 
com.orative.persistence.user.UserManagerBean.getUserLocal(UserManagerBean.java:1845)
at 
com.orative.persistence.user.UserManagerBean.getUserWithRoleName(UserManagerBean.java:968)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess

[jboss-user] [EJB/JBoss] - Re: SystemException: enlistResource failed

2006-12-12 Thread ankurdotshah
I've posted this under jboss/cmp database section, please ignore this post.

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

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


[jboss-user] [EJB/JBoss] - SystemException: enlistResource failed

2006-12-12 Thread ashahbiz
Hi,

I am using jboss 4.0.1sp1 and am in the process of migrating the data from 
mysql to IDS (informix). I've gotten most things migrated over (or atleast i 
think i have) and our server also comes up. While logging into our application 
however, i see this error. Basically the idea is to validate the credentials of 
the user logging in against the database entry and that's where i get this 
exception.

Some additional pieces of information:

1. We are using CMP EJBs (ver. 2.x)
2. The exception happens while doing an ejbSelect operation. The select 
operation essentially gets the admin user name in the database and validates 
against one entered on the portal.

Any help will be greatly appreciated. I have done extensive research on this 
and needless to say googled the crap out to get an answer without much luck.



12-12-2006 12:20:18.425| INFO | http-0.0.0.0-7080-Processor25| 
org.jboss.resource.connectionmanager.TxConnectionManager| | | | | | |Could not 
enlist in transaction on entering meta-aware object!
javax.transaction.SystemException: enlistResource failed
at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:448)
at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:324)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:454)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838)
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:189)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractQueryCommand.execute(JDBCAbstractQueryCommand.java:128)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.execute(JDBCSelectorBridge.java:99)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCSelectorBridge.invoke(JDBCSelectorBridge.java:70)
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
at com.orative.persistence.user.UserBean$Proxy.ejbSelectByUserNameAndStatus()
at com.orative.persistence.user.UserBean.ejbHomeGetByHandle(UserBean.java:238)
at com.orative.persistence.user.UserBean.ejbHomeGetByHandle(UserBean.java:225)
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.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1126)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:313)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:126)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:99)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
at org.jboss.ejb.Container.invoke(Container.java:891)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342)
at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
at $Proxy62.getByHandle(Unknown Source)
at 
com.orative.persistence.user.UserManagerBean.getUserLocal(UserManagerBean.java:1845)
at 
com.orative.persistence.user.UserManagerBean.getUserWithRoleName(UserManagerBean.java:968)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess

[jboss-user] [EJB 3.0] - Re: History Interceptor

2006-12-12 Thread jc7442
Hi,

I've tried to implement that in ejb3. I had some problem with some specific 
cases such as array. 
Moreover, with this approach I was quite anxious with the impact on the 
performance of my application.

I stopped to look at that ... but I'm still interesting with that subject.

Other approach may be to use DB trigger but that's DB specific and problem is 
to get the user that perform the change.



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

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


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

2006-12-12 Thread cocampo
So, how the JBoss AS handles sar files is a jBPM problem That's new to me. 
Besides, it IS your job to RTFM, STFF and STFW before asking ANYTHING at all. 
Of course is your work to develop your own application, but is ALSO your work 
to research a little before coming and asking something in the WRONG FORUM 
(maybe you want us to use the search function for you).

Regards.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Sun Creator and JBoss

2006-12-12 Thread [EMAIL PROTECTED]
I've been doing Java development for about 2 years in the J2EE and POJO space.  
I am yet to get into web development, until now.  I found Sun Creator and 
wanted to try it out.  It seemed like the best solution to create JSF 
applications.  

Do you know of a better IDE?

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

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


[jboss-user] [JBossWS] - How to get java subclass generated by wstools or wscompile?

2006-12-12 Thread ichunlin
I have a wsdl which has base class type and few subclass types. 
This is the snipplet from wsdl.


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

I have used wstools ant task and wscompile ant task for generating java codes. 
However, I can't get AgentBusyEvent subclass generated. Note that the operation 
only refer to the base type.

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

Does anyone know how to get the subclass generated? Axis1.4 works. However, 
wscompile or wstools is the only option for wsdl2java in jboss4.0.4?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Sun Creator and JBoss

2006-12-12 Thread genman
Thanks for the doc.
Is there some reason you're using Sun Creator?  Can you explain the 
compatibility issues?

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

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


[jboss-user] [JBoss Seam] - Re: Problem with selectItems taglib

2006-12-12 Thread gus888
Petemuir wrote: anonymous wrote : gus888, if you mean integrate into a Seam 
distribution then that's not up to me ;)
Yes. I think almost all enterprise projects need to use selectItems taglib. It 
will be great if integrating it into Seam lib.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Sun Creator and JBoss

2006-12-12 Thread [EMAIL PROTECTED]
I've been developing a Java Server Faces application with Sun Creator and have 
had to get over many bumps.  I figured I'd share my experiences for all to see, 
so they may find the answers quicker.

I created a document that will be updated as I go along.  I call it JBoss And 
Sun Creator Idiosyncrasies and it can be accessed by the following url:
http://docs.google.com/View?docid=dn97rq7_9c55w6t


If you have any questions on how I did something, I will try and answer them.
Keep in mind this is a working document.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with selectItems taglib

2006-12-12 Thread petemuir
The validation error is probably due to the id/object equality mismatch as 
discussed on the wiki (and extensively in the forum).

Seam uses javassist when you use a JavaBean as a Seam component I think.

Can you post the code for the bean referred to by #{currentItem} (including any 
type (class) annotations)?

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

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


[jboss-user] [JBoss AOP] - Re: Tracing/Logging - Actual RMI calls vs calls between EJBs

2006-12-12 Thread ykrishnaprasad
Thanks a bunch guys!
I think i got the basic caller pointcut working for 
MethodCalledByMethodInvocation.

Here is a simple set of classes that i used for this purpose:


  | package DCR2;
  | 
  | public class HelloAOP {
  | public static void main(String args[]){
  | new callTest().printText();
  | }
  | public void callMe(){
  | System.out.println("AOP!");
  | }   
  | }
  | 
  | 
  | package DCR2;
  | 
  | public class callTest {
  | public void printText(){
  | callMe();
  | }
  | public void callMe(){
  | System.out.println("AOP!");
  | }
  | }
  | 
  | package DCR2;
  | 
  | import org.jboss.aop.advice.Interceptor;
  | import org.jboss.aop.joinpoint.Invocation;
  | import org.jboss.aop.joinpoint.MethodCalledByMethodInvocation;
  | 
  | public class HelloAOPInterceptor implements Interceptor{
  | public String getName(){
  | return "HelloAOPInterceptor";
  | }
  | public Object invoke(Invocation invocation) throws Throwable{
  | if (invocation instanceof MethodCalledByMethodInvocation){
  | System.out.print("MethodCalledByMethodInvocation, ");
  | }
  | else System.out.print("Hello, ");
  | return invocation.invokeNext();
  | }
  | }
  | 
  | 
  | 

And my jboss-aop.xml looks like:


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

The output after running the project should be:

MethodCalledByMethodInvocation, AOP!

The reason i used the callTest class in between is that i could not get the 
interceptor to work if i had a statement 

  | new HelloAOP().callMe();
  | 
  | (a method call in the constructor)
  | 
  | instead of:
  | new callTest().printText();
  | 

What i could do on the whole is to see if a call for a method is coming from 
another method or not. My next step is to see if i can differentiate between a 
method call coming from a JSP page(JSP->EJB) and the method calling 
method(EJB->EJB).

I may have to comeback for your help again.



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

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


[jboss-user] [JBossWS] - Suppressing SoapFault Stack trace

2006-12-12 Thread zurchman
It looks like this code in SOAPFaultExceptionHandler (1.0.4.GA) will always log 
an ugly stack trace for Exceptions thrown by the Endpoint.

Is there some way to supress the stack trace?

In many cases, the Exception is expected, and all we're really interested in 
logging at the Endpoint is the fault message.

 
  |  /** Translate the request exception into a SOAPFault message.
  | */
  |public static SOAPMessage exceptionToFaultMessage(Exception reqEx)
  |{
  |   // Get or create the SOAPFaultException
  |   SOAPFaultException faultEx;
  |   if (reqEx instanceof SOAPFaultException)
  |   {
  |  faultEx = (SOAPFaultException)reqEx;
  |   }
  |   else
  |   {
  |  QName faultCode = Constants.SOAP11_FAULT_CODE_CLIENT;
  |  String faultString = (reqEx.getMessage() != null ? 
reqEx.getMessage() : reqEx.toString());
  |  faultEx = new SOAPFaultException(faultCode, faultString, null, 
null);
  |  faultEx.initCause(reqEx);
  |   }
  |   
  |   Throwable faultCause = faultEx.getCause();
  |   log.error("SOAP request exception", faultCause != null ? faultCause : 
faultEx);
  | 
  |   ...
  |}
  | 
  | 

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

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


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

2006-12-12 Thread highlnd
Thank you for an extremely helpful reply. If I thought it was specific to the 
JBoss AS rather than jBPM then I would have posted there wouldn't I have?

To me, this problem seems to be specific to how I've set up jBPM. I'm wondering 
if anyone can shed some light on their development process with jBPM. Hopefully 
someone with a little patience. That way I can go and do my work.

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

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


[jboss-user] [EJB/JBoss] - Re: CMP finder method: java.lang.ClassNotFoundException: org

2006-12-12 Thread igpuebla
Never mind. I found the error. It was in antother part of the code. Local 
interfaces can not be returned over RMI.

Thanx

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection and master-detail pages

2006-12-12 Thread SmokingAPipe
So I think that's the problem.  I think what's happening is that I am having my 
session beans take the default scope, which is conversation.  But the problem 
is that in this case, they are being used in temporary conversations, which 
means that the session bean is being disposed of at the end of the request.  I 
need to make these conversations into real conversations that persist for as 
long as the user is doing stuff.  That's what I need to figure out here.


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

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


[jboss-user] [JNDI/Naming/Network] - Accessing a java.net.url resource from JNDI

2006-12-12 Thread [EMAIL PROTECTED]
I am trying to deploy an existing application that runs on Websphere currently, 
to JBoss 4.0.4.ga. I am having a problem getting a url resource (java.net.url) 
to show up in JNDI so it can be accessed from an ejb.

The purpose is to access a properties file from an ejb. The JNDI allows us to 
define the location of the properties file at deployment time.

Any ideas on why the url resource reference doesn't show up? It doesn't show up 
in the JNDI tree and I get a namenotfound exception when I try to locate it in 
JNDI 

Here is my jboss.xml file:


http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";>


. . .

ReportDaemonSB 
ejb/ReportDaemonSBLocalHome

url/globalProperties
url/eRegGlobalProperties






url/globalProperties   
file:c:/projects/testproject/global.properties




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

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


[jboss-user] [JBoss jBPM] - Re: userguide in cvs

2006-12-12 Thread john.feidaros
Well, the package renaming from jbpm-3.1.3 to jbpm-jpdl-3.2 got me confused!

Cheers

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

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


[jboss-user] [Remoting] - HTTP Invoker overwrites Content-Type

2006-12-12 Thread jhalcrow
Hi

I've run into a problem trying to use the http invoker with remoting 2.0.0 GA.  
It seems that after invoke() returns, the value for the response header 
"Content-Type" is always being replaced with "text/html".  I have been 
attempting to set it as follows:


  | public Object invoke(InvocationRequest req)
  | {
  | Map response = req.getReturnPayload();
  | response.put("Content-Type","text/css");
  | return someCSSasAString;
  | }
  | 

I've checked setting other headers and that works fine, its just Content-Type 
that gets replaced.  Is there some other way that I can set this?

Thanks!
Jonathan Halcrow

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

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


[jboss-user] [EJB 3.0] - Re: How to get EnitityManager in SLSB without injection??

2006-12-12 Thread ALRubinger
You can just load the EM, no need to go through the factory.

I've always done the lookup into an instance variable via resource injection:
@Resource(mappedName="theJNDINameOfEM")
  | private EntityManager em;

I believe you shouldn't have to register the EM with the transaction; the 
container should be doing it for you (it has in all cases I've experienced).

S,
ALR

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

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


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

2006-12-12 Thread cocampo
This looks like a JBoss AS question; wrong forum. I'm sure someone has anwered 
this question before in the correct forum. So now you can go and do your work...

Regards.

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

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


[jboss-user] [JBoss Seam] - Re: @Embeddable Object and JSF referencing in a Form

2006-12-12 Thread bytor99999
I think you hit it on the head. For some reason, I am getting a little bit 
confused at when JSF/Seam will create an instance of objects for me, and when I 
have to create the instances myself in code. So right now in my code, there 
isn't a new Address() line, and I probably need it. Whereas the Location object 
is being automatically created.

Thanks Norman.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Login encryption not working

2006-12-12 Thread ewade
Never mind. I put the options in the wrong policy. When I put them in the 
correct policy it works as advertised. I was looking in the wrong places to 
solve my problem.
Thanks for the help.

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

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


[jboss-user] [JBoss Seam] - ICEFaces + resources files

2006-12-12 Thread vwiencek
Hi, 

I've been using seam for two months and I've just added ICEFaces support to my 
project ... but now, resources files don't work anymore.
Before ICEFaces integration, I had two languages files (english and french), 
but now there is just the default one working.

I'm using #{messages.viewPersonTitle} to access my ressources

and 

   


   
   
 

to select the language 

Now 
messages.myMessage doesn't work
localeSelector.language works fine 

Thank you for your help
Vincent

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

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


[jboss-user] [JBoss Seam] - Re: AJAX with Seam

2006-12-12 Thread [EMAIL PROTECTED]
There was an article of TSS about using GWT with JSF.   
(http://www.theserverside.com/tt/articles/article.tss?l=GWTandJSF)   You might 
want to give it a try and see how it goes.   It looks to me like it is too far 
removed from Seam contexts to give you the things you want from a Seam app, but 
it might have some uses.  

Perhaps future JSF specs will provide GWT-like simplicity.  



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

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


[jboss-user] [EJB 3.0] - PersistenceContext injection into a JSF-technology managed-b

2006-12-12 Thread tswall
I have tried to inject a PersistenceContext into a JSF managed bean POJO as is 
outlined here. The backing bean is as follows:
package net.epweb.jsf.backing;
  | 
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | 
  | import net.epweb.ejb.entity.*;
  | 
  | public class Eraseme {
  | 
  | private @PersistenceContext(unitName = "lynxManager") EntityManager em;
  | 
  | private String lastName;
  | private String firstName;
  | 
  | public String getLastName() {
  | return lastName;
  | }
  | public void setLastName(String lastName) {
  | this.lastName = lastName;
  | }
  | 
  | public String getFirstName() {
  | return firstName;
  | }
  | public void setFirstName(String firstName) {
  | this.firstName = firstName;
  | }
  | 
  | public String createPatient() {
  | Patient p = new Patient();
  | System.out.println("Create patient");
  | System.out.println(p);
  | p.setLastName(lastName);
  | p.setFirstName(firstName);
  | System.out.print("Entity manager: ");
  | System.out.println(em.toString());
  | em.persist(p);
  | return "success";
  | }
  | }
  | 

The managed bean is confidured as follows:

  |   
  | eraseme
  | net.epweb.jsf.backing.Eraseme
  | application
  |   
  | 

When the JSF page that references the managed bean is referenced JBoss5.0 fails 
with the following stack trace:

  | 12:51:09,301 ERROR [JBossInjectionProvider] Injection failed on managed 
bean.
  | javax.naming.NameNotFoundException: net.epweb.jsf.backing.Eraseme not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:628)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:590)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at 
org.apache.catalina.util.DefaultAnnotationProcessor.lookupFieldResource(DefaultAnnotationProcessor.java:203)
  | at 
org.apache.catalina.util.DefaultAnnotationProcessor.processAnnotations(DefaultAnnotationProcessor.java:149)
  | at 
org.jboss.web.jsf.integration.injection.JBossInjectionProvider.inject(JBossInjectionProvider.java:93)
  | at 
com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:312)
  | at 
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:470)
  | at 
com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
  | at 
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
  | at 
com.sun.faces.el.ChainAwareVariableResolver.resolveVariable(ChainAwareVariableResolver.java:96)
  | at 
org.apache.myfaces.trinidadinternal.el.TrinidadVariableResolver.resolveVariable(TrinidadVariableResolver.java:52)
  | at 
com.sun.faces.el.VariableResolverChainWrapper.getValue(VariableResolverChainWrapper.java:93)
  | at 
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
  | at 
org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)
  | at org.apache.el.parser.AstValue.getValue(AstValue.java:86)
  | at 
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
  | at 
org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101)
  | at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:279)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:207)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:893)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
  | at 
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
  | at 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
  | at 
javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
  | at 

[jboss-user] [JBoss Seam] - Encoded Request Parameter

2006-12-12 Thread chane

I have noticed that in some older browsers that request parameters are being 
encoded by the browser such that:

   http://somedomain.com/action.seam?param1=v1¶m2=v2

is encoding the & symbol to:


   http://somedomain.com/action.seam?param1=v1¶m2=v2

which means that "param2" looks like "amp;param2".

Is there a way to get the parameter to be decoded correctly.  I'm using JBoss 
4.0.4 and Seam 1.0.

Thanks,
Chris

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.5 + Tomcat : session problem ; (

2006-12-12 Thread dillboy
We were able to replicate the problem with 4.0.4. It is unrelated to JBoss. One 
of our pages redirected to a page with a different a fully qualified domain 
(ie. domain.foo.bar) and the session was regenerated as it should be. We 
replaced the simple path (ie. domain) with the fully qualified one and the 
session is held and the redirect works.

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

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


[jboss-user] [EJB 3.0] - Re: How to get EnitityManager in SLSB without injection??

2006-12-12 Thread ablevine1
Thanks for the response. If I put the entityManager in JNDI, the way you 
describe, can I just load it from JNDI and then call joinTransaction() on it to 
make it join the current session transaction, or do I need to load the 
EntityManagerFactory first and then create the EntityManger from it to make it 
join the transaction??

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

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


[jboss-user] [JBoss Seam] - Re: AJAX with Seam

2006-12-12 Thread cwac5
Now that GWT has been open sourced is there anyone looking in to integrating it 
in? I know you have done additional work to integrate a4j, and they have a tool 
to use GWT... It would certainly be a big step if GWT could be made a first 
class view technology for JSF.

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

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


[jboss-user] [EJB 3.0] - Re: Problem with Stateful EJB

2006-12-12 Thread ThomasKo
Hi,

you have to link jbossall-client.jar

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

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


[jboss-user] [JBoss Seam] - Re: Acess Task variables and show them with task list

2006-12-12 Thread sxj
Thanks for the reply.
  I'm not sure how to get the list of the variables. I tried to get the 
variables from taskInstance but I got an error abt value not found. Please 
suggest

Thanks

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - unable to consume messages synchronously from jbossmq queue.

2006-12-12 Thread sursha
Hi,
I'm sending a message to a predefined Queue in JBOSSMQ using JMS api. I can 
view the messages in the queue in JMX console of JBOSS. I'm using version JBOSS 
version 4.0.5GA.
When I use the following code to synchronously receive the message, It never 
receives the message. I'm able to browse the queue using QueueBrowser though.

 MessageConsumer qReceiver =
 queueSession.createConsumer(queue);
  System.out.println("Waiting for Message from B in MDB");
   qReceiver.receive();

Wondering what is going on with the synchronous receive? 

If I use an MDB to listen to the queue, it works. But I'm looking for receiving 
message synchronous way.

Any help will be appreciated..




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

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


[jboss-user] [JBoss Seam] - Re: Transactions in Perstistence Context

2006-12-12 Thread [EMAIL PROTECTED]
"bfo81" wrote : 
  | But I must confess, I am not 100% sure at which point in time a transaction 
starts and ends. My imagination is like this:
  | - before methode starts: em.getTransaction().start().
  | - after method ends: em.getTransaction().commit() (or rollback() if 
setRollbackOnly() was called or a RuntimeException occured).
  | - and whenever there are Java transactions running, a database transaction 
is started before the first db access (e.g. set autocommit=0 in MySQL or begin 
tran in MS SQL). And after writing was finished, a database commit (or 
rollback) is called.
  | 
  | GAVIN? Could you take as on a ride into the deep misterys of the Java 
Transaction API and its interactions with the EntityManager here? Only a short 
comment wether my findings are correct :)

It all depends upon the TransactionAttribute used. The default behavior is 
TransactionAttribute.REQUIRED. But note that if you use 
TransactionalSeamPhaseListener, there will already be a txn active before you 
hit the EJB tier.


"bfo81" wrote : - If a rollback was set (setRollbackOnly() or RuntimeException) 
there won't be any SQL statements sent to the database at the end of a method. 
If you called em.flush() before, then statements were already created and only 
then you need a database rollback, right?

huh?

"bfo81" wrote : - Ist there a SQL commit called at the end of em.flush()? If 
yes, and if there are e.g. constraints violated, the database rolls back the 
changed stuff automatically and throws an exception, right?

definitely not. flush() flushes, it does not commit

"bfo81" wrote : - How does the EntityManager know which entities changed? Does 
he hold a copy of every managed entity in memory and compare it to the actual 
entities, field by field?!? Or are there some interceptors doing some observer 
stuff on the entity?

EM keeps a snapshot, at least in our implementation.

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

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


[jboss-user] [JBoss Seam] - Re: Using Seam from External Invocation

2006-12-12 Thread [EMAIL PROTECTED]
You would need some interception of the Quartz event to set up the Seam 
contexts (Lifecycle.beginCall(), Lifecycle.endCall()). I don't know enough 
about Quartz to tell you exactly how to do it.

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

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


[jboss-user] [JBoss Seam] - Re: Acess Task variables and show them with task list

2006-12-12 Thread [EMAIL PROTECTED]
An example in the DVD demo:




  | 
  | Order Id
  | #{task.variables['orderId']}
  | 
  | 
  | Task
  | 
  | 
  | 
  | Order Amount
  | 
  | 
  | 
  | 
  | 
  | Customer
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - History Interceptor

2006-12-12 Thread dhartford
Hey all,
I would like to, for each entity bean, create a History entity bean to track 
all changes and timestamp of those changes.

Searching across the web, I saw a user on the hibernate forum posted this 
interceptor:
http://www.hibernate.org/195.html

Does there already exist an EJB3 equivalent following the EJB3 interceptors, or 
is there a better approach (preferably non-vendor specific if possible)?

Thanks,
-D

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

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


[jboss-user] [JBoss Seam] - Re: DataModelSelection and master-detail pages

2006-12-12 Thread [EMAIL PROTECTED]
What does the renderd HTML for the link look like?

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

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


[jboss-user] [JBoss Seam] - Re: Seam Log4J wrapper

2006-12-12 Thread [EMAIL PROTECTED]
thanks

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

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


[jboss-user] [JBossCache] - Re: NPE when using optimistic locking with JbossCache 1.4.0.

2006-12-12 Thread nielsenk
Forgot to mention, I am using INVALIDATION_ASYNC with Optimisitic Locking

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.5 + Tomcat : session problem ; (

2006-12-12 Thread dillboy
Same problem with 4.0.5. Didn't have it with 4.0.4.

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

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


[jboss-user] [Clustering/JBoss] - Re: Clustering NOT working on physical separate boxes.

2006-12-12 Thread [EMAIL PROTECTED]
A merge is probably a sign that the during the initial discovery process when 
devl-03 started, it did not find the other servers during the timeout period.  
So it formed a cluster of one.  Later it did find the other servers, and the 
two clusters merged.

For a UDP config, the behavior of the discovery process is controlled via the 
PING protocol. See http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroupsPING for 
more details.

If you post the protocol stack portion of your cluster-service.xml file, I can 
have a look.

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

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


  1   2   3   >