[JBoss-user] [EJB 3.0] - Re: Casting arguments in an EJB Urgent !!!
Sorry I was out Yesterday THIS LOOKS LIKE A PATH I'll Try it immedialtly View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950603#3950603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950603 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Casting arguments in an EJB Urgent !!!
Does this value has an impact on ECLIPSE JBOSS-Debugging all debugging seems to be mixed up To enable Tomcat to use the JBoss classloader, set the UseJBossWebLoader attribute to true in Deploy\Tomcat's jboss-service.xml I'm investigating further View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950606#3950606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950606 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Casting arguments in an EJB Urgent !!!
setting UseJBossWebLoader in C:\JBOSS\jboss-4.0.4.GA\server\default\deploy\jbosswebtomcat55.sar\META-INF\jboss-service.xml Using Jboss 4.0.4.GA local interfaces Does definetly Corrupt the presentation of the ECLIPSE Debugger. Even after a complete rebuild locations and traps are placed completly (let's say at random) all references have gone I seem to have an additional problem corrupting the result I verify the bean interface to be correct as I setup a JNDI Connection (on servlet side) JNDI beancalss - Beaner beaner =Ctx.lookup(beanName) if (beaner instanceof bean) else Beaner not derived from overall Bean Class Appearently the Jboss-tomcat servlet does not recogise beans passed from JNDI ?? an other classloader problem works perfectly as UseJBossWebLoader=false still trying to confirm/deney the original Summary UseJBossWebLoader=false ECLIPSE_JBOSS debugging syncronisation OK JNDI -- Classes are recognised UseJBossWebLoader=true ECLIPSE_JBOSS debugging syncronisation FAILS JNDI -- Classes not recognised any more. as far as can be seen the problem is NOT SOLVED Still class desynchronisation beween Servlet and BEAN Any other suggestions ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950615#3950615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950615 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: putting classes in bean requests not Consistent !!!
setting UseJBossWebLoader true in Confirms there is definitly a problem. Only the problem get Worse C:\JBOSS\jboss-4.0.4.GA\server\default\deploy\jbosswebtomcat55.sar\META-INF\jboss-service.xml Using Jboss 4.0.4.GA local interfaces Does definetly Corrupt the presentation of the ECLIPSE Debugger. Even after a complete rebuild locations and traps are placed completly (let's say at random) all references have gone I seem to have an additional problem corrupting the result I verify the bean interface to be correct as I setup a JNDI Connection (on servlet side) JNDI beancalss - Beaner beaner =Ctx.lookup(beanName) if (beaner instanceof bean) else Beaner not derived from overall Bean Class Appearently the Jboss-tomcat servlet does not recogise beans passed from JNDI ?? an other classloader problem works perfectly as UseJBossWebLoader=false still trying to confirm/deney the original Summary UseJBossWebLoader=false ECLIPSE_JBOSS debugging syncronisation OK JNDI -- Classes are recognised UseJBossWebLoader=true ECLIPSE_JBOSS debugging syncronisation FAILS JNDI -- Classes not recognised any more. as far as can be seen the problem is NOT SOLVED Still class desynchronisation beween Servlet and BEAN Any other suggestions ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950617#3950617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950617 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: please help arguments of a bean CALL depends on runt
setting UseJBossWebLoader true in Confirms there is definitly a problem. Only the problem get Worse C:\JBOSS\jboss-4.0.4.GA\server\default\deploy\jbosswebtomcat55.sar\META-INF\jboss-service.xml Using Jboss 4.0.4.GA local interfaces Does definetly Corrupt the presentation of the ECLIPSE Debugger. Even after a complete rebuild locations and traps are placed completly (let's say at random) all references have gone I seem to have an additional problem corrupting the result I verify the bean interface to be correct as I setup a JNDI Connection (on servlet side) JNDI beancalss - Beaner beaner =Ctx.lookup(beanName) if (beaner instanceof bean) else Beaner not derived from overall Bean Class Appearently the Jboss-tomcat servlet does not recogise beans passed from JNDI ?? an other classloader problem works perfectly as UseJBossWebLoader=false still trying to confirm/deney the original Summary UseJBossWebLoader=false ECLIPSE_JBOSS debugging syncronisation OK JNDI -- Classes are recognised UseJBossWebLoader=true ECLIPSE_JBOSS debugging syncronisation FAILS JNDI -- Classes not recognised any more. as far as can be seen the problem is NOT SOLVED Still class desynchronisation beween Servlet and BEAN Any other suggestions ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950618#3950618 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950618 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: ClassCastException of entity after SFSB activate
I think I've the same problem, As soon as using my own classes to be passed to the bean the classloader seems to fail or at least gets desynchronized. Up to now i changed some Jboss parameters changing the classes unsuccessfull though View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950648#3950648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950648 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Class cast LOST IN using LOCAL BEANS
I DEFINE A SERVICE BEAN CONTAINING A HASHMAP Hashmap String,_class = new HashMAPString,_class() always the casting defintion is passed in the operation As I pass the HashMAP from the bean to the service the casting defintion of the items is corrupted it can not even be corrected by explicit casting although the data content is correct !!! AS I define and create the HashMap in the calling service the classCasting is 100% I've the impression that CLASSCASTING STINKS in JBOSS any remarks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950080#3950080 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950080 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Run Packaging disabled
Had same problem on XP Restart Eclipse was the solution I'm in favor of a extenible package facilities View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950095#3950095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950095 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Casting arguments in an EJB Urgent !!!
included the CODE but this is NOT ROCKET SCIENCE BEAN CASTING ERRORS package interf; import javax.ejb.Init; import javax.ejb.PostActivate; //import javax.ejb.PostConstruct; //import javax.ejb.PreDestroy; import javax.ejb.PrePassivate; import javax.ejb.Remove; import javax.ejb.SessionContext; import org.dom4j.Document; import com.cyclus.servlet.*; import java.util.*; public interface interf { public abstract String getDescriptor(); public abstract String getStatus(); //public String test(String ID,String value); //setup destruction consistency public void create()throws Exception ; public void destroy(); public void disconnect(String Id); public String prcBEAN(String txt); public String prcBEAN(Object obj); public String prcBEAN_s(Servlet srv); } package bean; import javax.ejb.spi.*; //import javax.ejb.* ;//additional options import javax.annotation.*; //EJB,EJBs,Resource,Resources import javax.annotation.security.PermitAll; import javax.annotation.security.RolesAllowed; import javax.ejb.Remote; import javax.ejb.Local; import javax.ejb.Remove; import javax.ejb.Stateless; import javax.ejb.Stateful; import javax.ejb.SessionContext;//get the session context //Statefull accross session info import javax.ejb.Init; //init //import javax.ejb.PostConstruct;// init routine //import javax.ejb.PreDestroy; import javax.ejb.PrePassivate; //sleep import javax.ejb.PostActivate; //Unsleep //import javax.ejb.Resource; addition special jar import javax.ejb.TimedObject; import javax.ejb.Timer; import javax.ejb.Timeout; import javax.ejb.TimerService; //message beans import javax.ejb.MessageDriven; import javax.ejb.ActivationConfigProperty; //message bean //transaction import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.ejb.*;//pck up the rest // Jboss additions import org.jboss.annotation.ejb.LocalBinding; import org.jboss.annotation.ejb.RemoteBinding; import org.jboss.annotation.ejb.Service; import org.jboss.annotation.ejb.Management;//jmx import org.jboss.annotation.ejb.Producer; //message queue //import org.jboss.ejb3.remoting.RemoteBinding; //import org.jboss.ejb3.remoting.LocalBinding; import org.jboss.annotation.security.SecurityDomain; //import java.util.*; import java.io.Serializable; import java.util.HashMap; import java.util.Date; //import javax.ejb.Inject; import javax.jms.*; import org.dom4j.Document; //dom4j //import com.cyclus.bean.*; //include Cyclus stuff all in the bean //import com.cyclus.beanClient.*; import com.cyclus.servlet.Servlet; import com.cyclus.*;//error import com.cyclus.String.*;//error import org.dom4j.Document; //dom4j import com.cyclus.servlet.*; import interf.*; the BEAN : /* * * @stateless Nothing is remembered in the bean itself * @Local ({LocalBeanInterface.class}) Tag CLASSor individual Method * @LocalBinding (jndiBinding=beanName) * @Remote ({RemoteBeanInterface.class}) * @RemoteBinding (jndiBinding=beanName) * class bean implements LocalBeanInterface.RemoteBeanInterface * @statefullCall the same stud and all bean variables remain * */ @Service//(DomCrawl/BeanService) // a service request does not execute any initalisation or post actions //@Stateful(name=ejb/RequestBean) //global containers/DBXmlEJB // //@Stateless(name=ejb302) //@SecurityDomain(Cyclus) //Conf used Roles @RemoteBinding( jndiBinding=ejb/bean/remote) //global ejb/DBXmlEJB @LocalBinding( jndiBinding=ejb/bean/local) //global ejb/DBXmlEJB @Remote( interf.class) @Local( interf.class) public class Bean implements interf { public String getDescriptor() {return Bean MINEJB;} public String getStatus() {return Bean MINEJB;} public void create()throws Exception {} public void destroy() {} public void disconnect(String Id) {} try {x2=ben.prcBEAN(this);} catch (Throwable e) {System.out.print(\n bean err object);}WORKS try {x3=ben.prcBEAN_s(ses);} catch (Throwable e) {System.out.print(\n bean err servlet);} FAILS try {x1=ben.prcBEAN(this is some text to return );} catch (Throwable e) {System.out.print(\n bean text);} WORKS depending on what object is passed IT FAILS as soon it is a home brewed class i pass EJB do not function any more !!! ANY Suggestions View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950117#3950117 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950117 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - putting classes in bean requests not Consistent !!!!!??
I wrote several working beans (I.m using a local bean, call by reference,... sharing the information using EJB 3.0 and for all those beans i get the same problem String xx=bean.routine( Class ) the class is defined as in the interface of caorse otherwize there is a compilation error as the class is of type String all seems ok as the class is of type HashMapString,class it seems to pass but the class defintion on the other side is corrupted as the class is of type Document (dom4J) all seems ok as I use one of my classes to be passed as arguments an ececution I get Illegal argument javax.ejb.EJBException: java.lang.IllegalArgumentException: Wrong target. class com.cyclus.bean.DommerBean for public java.lang.String com.cyclus.bean.DommerBean.DomSession(com.cyclus.Dom.DomInfo) 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:197) 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.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) 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(Meth16:49 9/06/2006odInvocation.java:101) at org.jboss Can anyone help me on this ? This seems as if BEANS DO NOT WORK AT ALL View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3950141#3950141 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3950141 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Casting arguments in an EJB Urgent !!!
How can I cast arguments in a bean bean.callprocess((Object) xxx) where the bean was defined as an object gives an execution failure any way to solve the problem any way to cast from one class to any parent class 15:53:12,578 ERROR [Main] Errname[javax.ejb.EJBException] Where: what What: XmlService.java-():whereSetupSession About: about javax.ejb.EJBException: java.lang.IllegalArgumentException: Wrong target. class com.cyclus.bean.DommerBean for public java.lang.String com.cyclus.bean.DommerBean.DomSession(com.cyclus.Dom.DomTransport) 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:197) 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.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) 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.service.ServiceContainer.localInvoke(ServiceContainer.java:199) at org.jboss.ejb3.service.ServiceLocalProxy.invoke(ServiceLocalProxy.java:75) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949856#3949856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949856 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - calling a bean using a class structure please advise
i'm calling an ejb 3.0 bean and it partualy seems to work but String value =bean.myroutine(String abc); works perfectly changing the bean definition to . myroutine( myclass xxx) does not offer any construction error But fails with a runtime error class myclass {String aaa=dassd; String bbb=sdsds; } xxx=new myclass(); String value=bean.myroutine2( xxx) // obviously all bean interfaces are addapted to myclass instead of String ps: as I Use Dom4j.Document as class it works fine just my classes do not seem to work ??? fails with javax.ejb.EJBException: java.lang.IllegalArgumentException: Wrong target. class com.bean for public java.lang.String com.cyclus.bean.myroutine2(xxx) 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:197) 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.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) 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.service.ServiceContainer.localInvoke(ServiceContainer.java:199) at org.jboss.ejb3.service.ServiceLocalProxy.invoke(ServiceLocalProxy.java:75) at $Proxy84.DomSession(Unknown Source) any Ideas It seems to simple for me not to make a mistake. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949578#3949578 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949578 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - please help arguments of a bean CALL depends on runtime
I setup my beans (i assume correctly since it works for a while) This is getting very urgent and I'm very worried over using beans ever again example String xxx=bean.myroutine(String ) ; works OK example String xxx=bean.myroutine(HashMapString,String ) ; works OK example String xxx=bean.myroutine(Document ) ;(DOM4j works OK as I use my own classes containing just data ex:public class yyy {String abcv; String xyz; }(or anything self defined ) example String xxx=bean.myroutine((yyy) aas) ;It fails with : of coarse I'm addapting the call every time . i seem to get this with every bean in my system both client and server have the class defined in the same jar path ... it realy seems to have to do with MY Classes versus external classes Using jboss 4.0.4. GA javax.ejb.EJBException: java.lang.IllegalArgumentException: Wrong target. class Bean for public java.lang.String com.cyclus.bean.DommerBean.DomSession(com.cyclus.Dom.DomTransport) 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:197) 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.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) 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.service.ServiceContainer.localInvoke(ServiceContainer.java:199) at org.jboss.ejb3.service.ServiceLocalProxy.invoke(ServiceLocalProxy.java:75) at $Proxy79.DomSession(Unknown Source) Wrong target. class bean.DommerBean for public java.lang.String Bean.DomSession(Dom.DomTransport) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949593#3949593 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949593 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: please help arguments of a bean CALL depends on runt
more information I see 3 area's of attention a) the client(works perfect localy) b) the interface (EJB argument verification) c) the service (works perfect localy ) S0 some problem occurs in the EJB interface argument verification the service is never called any way ... hOW CAN i MANIPULATE THAT View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949595#3949595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949595 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - DOM4j JAXEN in JBOSS GA 4.0.4
Hey I managed to get DOM 1.1.6 and corresponding Jaxen in JBOSS just place them both in JBOSS/lib as DOM4j.JAR and JAXEN.JAR ... it seems to run ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948628#3948628 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3948628 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Odd bean problem class casting fails ???
I seem to have an odd problem i use Class aaa// common class {String a=null; String b=null; String c=null; } class extends aaa {String d=null; String e=null; String f=null; } Call Bean ( (aaa) bbb)gives Class cast error when passed to the BEAN !! can anyone explain ??? can anyone suggest solution thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948638#3948638 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3948638 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Servlet EJB sharing memory
EJB server bean behaves as shared memory I'm using Dom to communicate between servlet and my Bean i've added som dom structures in my servlet session environment An I'm passing that structure between servlet and Bean virtualy as shared memory Servlet code extract Session ses=(Session) session.getAttribute(REQinfSession) ; Where ses is a class containing a dom4j structure Document ses.dom ;//session Dom Document ... Ejb request --- requests are passed to the service bean with the calls like Node nod=ses.dom.selectSingleNode(/root/loadtestmap/@id); nod.setText(userInfo); DomBean_INTF dombean = (DomBean_INTF) JNDI.Bean(ejb/dommer/local);//connecting to the bean if (dombean != null) {String status=dommbean.Load(ses,Request);//the dombean gets the session as transport buffer and gets what to do from ;// from the Request only the pointer to the session class ses is passed to the bean Bean code extract - public String dom(Session ses,String Request) ses.domis manipulated using standard Dom request Node nod=ses.dom.selectSingleNode(/root/loadtestmap/@id);//get information from the servlet String inf =nod.getText(); Node nods=ses.dom.selectSingleNode(/root/dbInfo);//get info from the database ... nods.setText(returned info and structures));//place it in the dom structure return status; Of coarse there are structures to ensure session and transactional consistency is maintained in the in the bean actualythe ses session structure is shared memory between Servlet and bean. I hope it is not copied arround every time ( interconsistency would be attacked) Any suggestions , critics View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947953#3947953 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947953 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - NO EJB with jboss 4.04 GA
I do a general instalation of JBOSS using the installer -Select EJB=== FAILS -Select ALL NO EJB's installed this used to work ??? what libaries do I need to install ??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945419#3945419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945419 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - can I use a dom structure in the servlet and an EJB without
I format dom information in the servlet, where the DOM information is created in a EJB. getting the XML in and out of the dom structure consumes a lot of CPU, Can DOM structures consistently be shared beween servlet and EJB ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3931285#3931285 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3931285 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: crashes JBOSS Solved JBOSS Crashes on EJB FATAL
Thanks , Your suggestion seems to be quite hard, a EJB name format structure crashing the application server I found my mistake looking in he thouzands of log file lines. I had a fatal mistake in an init / preconstruct returning a fatal error the JBoss seemed to stop cleanly. However, even with a FATAL error on a EJB I would not expect the JBOSS to go DOWN on any EJB error, I would expect to lose the EJB .. Thanks for your reply any way View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930605#3930605 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930605 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Using JBoss 4.04RC1 EJB call crashes JBOSS
trying to connect a EJB 3 public Object bean(String Name) initialContext ctx= new initialContext() returnctx.lookup(name) used in a servlet Any idea ??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930452#3930452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930452 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - http post and get arguments intermixed
I seem to notice a strange behaviour, As I submit forms to JBoss, I seem to receive them correctly within the servlet. though as I post a form using following action servlet/srv?selector=variable?second=blabla I was attempting to use use the inline arguments to qualify what to do with the form the arguments included in the form (submit) are intermixed with the query section in the http line selectorand second are considered as part of the form, eventualy overriding the form content*chose of variables) THe implementation intermixes Urlencoded variables as the post information. Of caorse this seems to simple to implement wherever the parameter comes from it is used as a parameter, but it allows someone changing or tricking the resultset without leaving some clarity... thanks for your thoughts View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929687#3929687 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929687 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - avoid expansion of package explorer
On every trial the package explorer expands completely. Using a lot of modules, developing time is heavaly reduced to tscrooling back over the libraries to be able to reduce them and having an overview again. Is ther a way possible to SWITCH OFF the automatic expansion EDI 1.5 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929799#3929799 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929799 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - JBOSS does not find interfaces
It seems not to be possible to load all BEAN interfaces in a JAr file to be linked with a project . Jboss does not find a jar file looking for interfaces, where normal classes are found properly. Since a bean is structuraly separated from its interface class it is wishfull to be able to separate them any comments ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929806#3929806 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929806 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Automating EDI Eclipse
I'm using servlets so I frequently need to build package and redistribute the EAR/WAR files is there a way to put that in one click ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929811#3929811 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929811 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: deployed war cannot find jar-files in /lib
I seem to have the same problem. loading my bean local interfaces and some JNDI interfaces in a beaninterface.jar Wherever I place the Jar it does not seem to be found in my war file. The jar file is created ffrom the bean project not the application project this seems to be the only differences using jboss 4.04rc1 Jar files installed in WEB-INF\classes are correctly picked up (except my bean interface) THe jar is correctly in the WAR file and loaded in the JBOSS appication. JBOSS complains it can not find the class during servlet load time. I'm braking my head on finding the differences in the JAR file none seem to be there. Files are present as I look wit ZIP the files seem to be present Any ideas ??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929342#3929342 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929342 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Setting up an EJB 3 bean as a service ?
How can I set up a general EJB 3 Bean as a service ??? A service in general has multiple users that sometimes need to wait for one another but most of the time need to be able to run in paralell. A service that has global data used by all users of the service... on the same machine . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929349#3929349 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929349 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Message Beans where can one find jar or import defini
there are multiple libraeieswith the same name in different directories. as soon as I picked the right source (same librarie Names !!!) it seems to work. Aside from trouble finding the right jar having thesame name withdifferent content iseven worse, i got it working in the end View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929456#3929456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929456 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: Message bean Undefined annotations
there are multiple libraries with the same name in different directories. as soon as I picked the right source (same librarie Names !!!) it seems to work. Aside from trouble finding the right jar having thesame name withdifferent content iseven worse, i got it working in the end View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929457#3929457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929457 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Re: JBOSS DOM4j XPATH does it work ? need assistance
in /server/lib replace Dom4j.jar by the new dom4j keep the name do not place jaxen in the library in server/envir/liband ejb_deployer placeDOM4j. jar and jaxen as dom4j.jar and jaxen.jar it works View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929458#3929458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3929458 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Message Beans where can one find jar or import defini
I tried the last stable version and the previous ones jboss-4.0.3SP1 windows MSI it does not seem to change with 4.0.4 rc1 I probably do not include the right JARand or include file I'm using eclipse define the project as an EJB and add additionaly following jars mainly as a try + DOM4J-1.6.1.Jar (EJB-DEPLOY) + Jaxen-1.1.Beta.jar (EJB-DEPLOY) +common-pools.jar (lib) +Jboss-annotations.jar (lib) +jmx-client.jar(client) +jbossscx-client (client) +jboss-saaj (client) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926018#3926018 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926018 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Message Beans where can one find jar or import defini
i suppose jboss_ejb3.jar and Jboss_ejb3x.jar all these are included I receive only complains about activationConfig from eclipse The attribute activationConfig is undefined for the annotation MessageDriven I practicaly copied the code from the net I do not see anything else wrong in the code DO I MISSSPELL ??? package com..bean; import org.jboss.annotation.ejb.Consumer; import javax.ejb.*; import java.sql.Timestamp; import com..beanClient.*; @Consumer(activationConfig = -- { @ActivationConfigProperty(propertyName=destinationType, propertyValue=javax.jms.Queue), @ActivationConfigProperty(propertyName=destination, propertyValue=queue/mdpojo) }) public class pojo_message implements message { public void send (String xml, String Meta) { // double result = calculate (start, end, growthrate, saving); // RecordManager.addRecord (new Timestamp(sent), result); System.out.println (The MD message POJO is invoked + Meta + : + xml); } } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3926087#3926087 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3926087 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - JBOSS DOM4j XPATH does it work ? need assistance
I'm not an internal developer of JBOSS but have some applications that need DOM4jand XPATH QUERIES As far as I understand i need DOM4J.1.6.1 and JAXEN 1.1-beta-8 I'm not in the above numbers but standalone my application seems to work. PLugging it in a EJB seems a pain in the ass Since DOM4j is in the libaries as DOM4j.JAR (unknown version) A/ DO I NEED TO REPLACE THE DOM4.JAR in jboss/lib??? I understand I can not introduce jaxen there ??? B/ As I deploy the DOM4J and Jaxen in deploy/ejb_deploy jBoss stops on undefined class or JBOSS/default/LIB Does anyone has a pprocedure (that works) to place DOM4J and JAXEN in an application and still have JBOSS to works ,allowing me to use XPATH View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925802#3925802 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925802 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Message bean Undefined annotations activationConfig
I'm giving message beans a try and i'm trying the examples It seems impossible to link since JAR's or imports seem to be missing The main attribute activationConfig is missing in the definitions Where is it suppoed to be defined ??? Context:: @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName=destinationType, propertyValue=javax.jms.Queue), @ActivationConfigProperty(propertyName=destination, propertyValue=queue/mdb) }) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925811#3925811 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925811 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Message Beans where can one find jar or import definition
I'm giving message beans a try and i'm trying the examples It seems impossible to link since JAR's or imports seem to be missing The main attribute activationConfig is missing in the definitions Where is it suppoed to be defined ??? Context:: @MessageDriven(activationConfig = { @ActivationConfigProperty(propertyName=destinationType, propertyValue=javax.jms.Queue), @ActivationConfigProperty(propertyName=destination, propertyValue=queue/mdb) }) Back to top View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3925821#3925821 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925821 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Where are all those JAR's What modules in the JAR JMS....
I' was not involved in the development of JBOSS nor EJB, I see examples and try to execute them , but they require you to include tons of different specific JAR files I respect I need to include OBJECTS but how the hell can I find whar JAR to USE ??? Of coarse it is easy once you have figered ut what JARS and what module The default setting helps you a bit but then you need to add one more Typing error or .. NO way to know Days fly away looking for the impossible activationConfig is defened where ??? JMS ??? --- ProducerObject?? ProducerManager nf.format ?? environment :: EJB3 POJO @Consumer(activationConfig = --- { @ActivationConfigProperty(propertyName=destinati JMS Client InitialContext ctx = new InitialContext(); l dbq = () ctx.lookup( .class.getName()); ProducerObject po = (ProducerObject) cal; ProducerManager manager = po.getProducerManager(); manager.connect(); // internally create a JMS connection try { result = nf.format( } finally { manager.close(); // clean up the JMS connection } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923639#3923639 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923639 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - JBOSS JNDI from a standalone application
I'm finaly able to access my EJB's in a servlet. I would like to access the same EJB's from a standalone application This local as well as remote (Local is already a good help) I did find out how to setup the initialContext an this seems to work fine Jboss 4,03Rc1 /EJB3.0 As soon as I try to lookup, I receive javax.naming.NameNotFoundException Is it possible to access JBOSS JNDI ? do I need Embeded EJB ? do I need to include special Jar files ?? Can I use the same EJB-name as I use in the servlet ? After all I've read Its all a bit unclear to me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914156#3914156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914156 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Jboss- portal not starting
Just started Jboss-portal as a first try -Set Jboss_Home (Jboss runs fine) -Defined it the portal-SQLServer-Ds.xml (Tables are created seeingly fine - http://localhost:8080/portal 404 resource not available but I get some errors in server.log DEBUG [org.jboss.system.ServiceCreator] About to create xmbean object: portal:service=SecurityProvider with code: org.jboss.portal.security.impl.jacc.JBossSecurityProviderImpl with embedded descriptor 2005-12-12 09:45:44,656 DEBUG [org.jboss.mx.server.AbstractMBeanInvoker] Setter not found: setObjectName(class javax.management.ObjectName) java.lang.NoSuchMethodException: org.jboss.portal.security.impl.jacc.JBossSecurityProviderImpl.setObjectName(javax.management.ObjectName) at java.lang.Class.getMethod(Class.java:1581) at org.jboss.mx.server.AbstractMBeanInvoker.inject(AbstractMBeanInvoker.java:929) at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:643) at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:678) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:196) at sun.reflect.GeneratedMethodAccessor1.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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) al other seem file just no Web response ? THanks for your reaction View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3912029#3912029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912029 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - jboss -portal SQLServer 2000 -fails
I'm trying to start SQLSERVER 2000 But I get problems from tje the log file starting up using a working SQLSERVER/ multiple tables are created I see no portal activity ANy suggestions ? 2005-12-12 09:46:20,343 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection 2005-12-12 09:46:20,343 DEBUG [org.hibernate.jdbc.ConnectionManager] closing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] 2005-12-12 09:46:20,343 DEBUG [org.hibernate.util.JDBCExceptionReporter] SQL Warning java.sql.SQLWarning: Preparing the statement failed: Invalid object name 'JBP_SECURITY_POLICY'. at net.sourceforge.jtds.jdbc.TdsCore.microsoftPrepare(TdsCore.java:1193) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareSQL(ConnectionJDBC2.java:552) at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:671) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:211) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:137) at org.hibernate.loader.Loader.getResultSet(Loader.java:1676) at org.hibernate.loader.Loader.doQuery(Loader.java:662) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:223) at org.hibernate.loader.Loader.doList(Loader.java:2147) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2026) at org.hibernate.loader.Loader.list(Loader.java:2021) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3912045#3912045 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912045 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - EJB3 the contect the lookup
Hi, I'm just starting with EJB, and there's one thing I don't see very clear, I'm very confused anyhow I tried writing a simple echoing EJB path: tst.echowith a Remote and Local interface i'm using JBOSS as EJB server and want to find my EJB from a servlet AND FROM a standalone program I want to access echoLOCAL. I'm using annotation and call my bean @Stateful(name=hasbean)no path nor anything my intialcontext seems to succeed. JBOSS signals my bean is intalled how the hell can I find back the bean in JBOSS Standalone ctx.lookup(hasbean) ? ctx.lookup(hasbean) ? ctx.lookup(java:hasbean) ? ctx.lookup(java:/env/hasbean) ? ctx.lookup(java:/env/ejb/hasbean) ? ctx.lookup(java:/env/ejb3/hasbean) ? or that other combination agree there is a need for a standard ? but htere is also a need for some proper explanation ?? after trying most combinations I'm completely lost I tried looking in the list be EnumerationNaming ns ctx.list(hasbean) EnumerationNaming ns ctx.list(java:hasbean) EnumerationNaming ns ctx.list(java:) EnumerationNaming ns ctx.list(java:/env) EnumerationNaming ns ctx.list(java:/env/) EnumerationNaming ns ctx.list(java:/env/ejb) EnumerationNaming ns ctx.list(java:/env/ejb/) EnumerationNaming ns ctx.list(java:/env/ejb3/) EnumerationNaming ns ctx.list(java:/env/ejb3) but all without any success Where to use the EJB name and where to use the JNDI name. Looks like the EJB name is used in the bean, and the JNDI name is used in JBoss, but how about in the client ? Moreover the path often varies: sometimes the full path (java:comp/env/ejb/thebean) is used sometimes ejb/thebean sometimes thebean Thanks for any enlightment... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3911222#3911222 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3911222 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user