[JBoss Messaging] - JBoss Messaging 1.0.1.SP2 Released
by ovidiu.feodorov@jboss.com
JBoss Messaging 1.0.1.SP2 has been released and it is available for download on jboss.org (http://labs.jboss.com/portal/jbossmessaging/downloads)
and sourceforge (http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=15...).
The SP2 release fixes a major concurrency bug (http://jira.jboss.com/jira/browse/JBMESSAGING-660 - a race condition that used to occur while closing sessions), a remoting bug (http://jira.jboss.com/jira/browse/JBMESSAGING-644) and also introduced changes in how redeliveries and sending messages to the Dead Letter Queue are handled. The configuration changes required by this new release are extensively described below.
WARNING! Due to the fact that the redelivery count per message is now maintained in the database, the database schema has changed, so the database tables need to be dropped and recreated upon restart.
The complete list of changes introduced by this release is available at http://jira.jboss.org/jira/secure/ReleaseNote.jspa?version=12311073&style...
The JBoss Messaging project roadmap is available here: http://jira.jboss.org/jira/browse/JBMESSAGING?report=com.atlassian.jira.p...
Configuration changes introduced by JBoss Messaging 1.0.1.SP2
1. Configurable DLQ name and maximum delivery attempt count
The latest server version allows you to configure an arbitrary DLQ where messages will sent after a number of failed delivery attempts. The queue name can be specified using ServerPeer's DLQName attribute. The number of delivery attempts can be specified using ServerPeer's MaxDeliveryAttempts attribute.
Both attributes are part of ServerPeer service configuration, located in messaging-service.xml:
<mbean code="org.jboss.jms.server.ServerPeer"
| name="jboss.messaging:service=ServerPeer"
| xmbean-dd="xmdesc/ServerPeer-xmbean.xml">
|
| ...
|
| <attribute name="MaxDeliveryAttempts">10</attribute>
| <attribute name="DLQName">DLQ</attribute>
|
| </mbean>
|
The queue to be used as DLQ must be declared in destinations-service.xml, so it will be deployed at boot.
2. Maximum redelivery attempts for EJB3 Message Driven Beans
For a JBoss 4.0.5 EJB3 MDB container, the maximum redelivery attempts attribute is set by default to 0, so the messages are sent straight to DLQ (http://jira.jboss.org/jira/browse/JBAS-3917).
To work around this, change the maximum delivery attempts counter in your EJB3 MDB configuration:
| @MessageDriven(activationConfig =
|
| {
|
| ...
|
| @ActivationConfigProperty(propertyName="DLQMaxResent", propertyValue="10")
|
| })
3. Remoting configuration changes
The remoting-service.xml needs to be changed, by adding the following two new attributes (as result of http://jira.jboss.org/jira/browse/JBMESSAGING-644) to the Connector's configuration:
| <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute><br>
| <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute><br>
|
Example:
| <mbean code="org.jboss.remoting.transport.Connector" name="jboss.messaging:service=Connector,transport=socket" display-name="Socket transport Connector">
| <attribute name="Configuration">
| <config>
|
| <invoker transport="socket">
| ...
| <attribute name="clientSocketClass" isParam="true">org.jboss.jms.client.remoting.ClientSocketWrapper</attribute>
| <attribute name="serverSocketClass">org.jboss.jms.server.remoting.ServerSocketWrapper</attribute>
| ...
| </invoker>
| </config>
|
| </attribute>
| </mbean>
|
In case you use an SSL connector, the same attributes must be added to the SSL Connector's configuration.
4. Database schema changes
The number of delivery attempts is now recorded in the database. For this reason, the current server version requires a database schema change. 1.0.1.GA-created tables are incompatible with 1.0.1.SP2, so in order to use SP2, you need to drop the old tables and recreate them.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991779#3991779
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991779
19 years, 7 months
[Security & JAAS/JBoss] - Please, one Simple RoadMap for User Login on Client SWING an
by CarlosDelfino
Hi, I am New on JBoss Security, and new in English too!
Please, I need one simple Road Map for configure JAAS Kerberos Login on client and propagate to JBoss 4.0.4 with EJB 3.
In the Client I have sucess with Kerberos Login, but I need use LoginJNDIInitialContext or other method for Authenticate on JBoss server, and I not have how I send my Password for KerberosLoginModule on JBoss JAAS, I Try use the ClientLoginModule, but even so I need send the password too, but I only have Kerberos Information after Login process, like KerberosPrincipal and KerberosTiket and KerberosKey.
I dont know if I make wrong, I have read many papers foruns, like this, on Internet and not undestand i need make for this work.
This is my config-login.xml:
| </application-policy>
| <application-policy name="KerberosTest">
| <authentication>
| <login-module flag="required" code="org.jboss.security.ClientLoginModule">
| <module-option name="debug">true</module-option>
| </login-module>
| <login-module code="com.sun.security.auth.module.Krb5LoginModule" llag="required">
| <module-option name = "debug">true</module-option>
| </login-module>
| <login-module code="examples.jaaskeberos.loginmodule.MyLoginModule" flag="required">
| <module-option name="group.file">data/group.properties</module-option>
| <module-option name="debug">true</module-option>
| </login-module>
| </authentication>
| </application-policy>
|
This is my Client Code for get InitialContext on JBoss:
| props.put("java.naming.factory.initial", "org.jboss.security.jndi.JndiLoginInitialContextFactory");
| props.put(Context.SECURITY_PRINCIPAL, ((KerberosPrincipal)subject.getPrincipals(KerberosPrincipal.class).toArray()[0]).getName());
| // Here I need my Credencials, How I get?
| // props.put(Context.SECURITY_CREDENTIALS, "?????????????????");
| InitialContext ctx = new InitialContext(props);
| .....
| // here I get and use EJB3
|
this is the JBoss log:
| 2006-12-06 17:34:41,113 DEBUG [org.jboss.remoting.transport.socket.ServerThread] WAKEUP in SERVER THREAD
| 2006-12-06 17:34:41,114 DEBUG [org.jboss.remoting.transport.socket.ServerThread] beginning dorun
| 2006-12-06 17:34:42,216 INFO [examples.jaaskerberos.ejb.EJBSeguroStatefull] Inicializado
| 2006-12-06 17:34:42,217 INFO [examples.jaaskerberos.ejb.EJBSeguroStatefull] Context: null
| 2006-12-06 17:34:42,218 INFO [examples.jaaskerberos.ejb.EJBSeguroStatefull] PostConstruct
| 2006-12-06 17:34:42,218 INFO [examples.jaaskerberos.ejb.EJBSeguroStatefull] Context: org.jboss.ejb3.BaseSessionContext@626028
| 2006-12-06 17:34:42,219 INFO [STDOUT] Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
| 2006-12-06 17:34:42,220 INFO [STDOUT] [Krb5LoginModule] user entered username: carlos.delfino(a)CARLOSDELFINO.COM.BR
| 2006-12-06 17:34:42,360 INFO [examples.jaaskeberos.loginmodule.MyLoginModule] /home/projetos/java/ferramentas/jboss-versions/jboss-4.0.5.GA/data/group.properties2006-12-06 2006-12-06 17:34:42,475 DEBUG [org.jboss.remoting.transport.socket.ServerThread] begin thread wait
|
and this is client erro msg:
| Exception in thread "main" javax.ejb.EJBAccessException: Authentication failure
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSecurityException(Ejb3AuthenticationInterceptor.java:70)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:70)
| 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.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
| 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:412)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
| at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:190)
| at org.jboss.remoting.Client.invoke(Client.java:525)
| at org.jboss.remoting.Client.invoke(Client.java:488)
| at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:78)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133)
| at $Proxy1.echoComSeguranca_1(Unknown Source)
| at examples.jaaskerberos.JaasAcn.testaUsoDeAutorizacaoComEJB3(JaasAcn.java:152)
| at examples.jaaskerberos.JaasAcn.main(JaasAcn.java:88)
| Caused by: javax.security.auth.login.LoginException: java.lang.IllegalArgumentException: EncryptionKey: Key bytes cannot be null!
| at sun.security.krb5.EncryptionKey.<init>(EncryptionKey.java:189)
| at sun.security.krb5.EncryptionKey.acquireSecretKeys(EncryptionKey.java:167)
| at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:626)
| at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:512)
| 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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
| at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
| at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
| at java.security.AccessController.doPrivileged(Native Method)
| at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
| at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
| at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)
| at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)
| at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
| at org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:123)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:66)
| 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.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
| 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:412)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
|
| at javax.security.auth.login.LoginContext.invoke(LoginContext.java:872)
| at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
| at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
| at java.security.AccessController.doPrivileged(Native Method)
| at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
| at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
| at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)
| at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)
| at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
| at org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:123)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:66)
| 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.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:319)
| 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:412)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239)
|
Thanks very much!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991777#3991777
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991777
19 years, 7 months
[JBossWS] - J2ME/JBossws 1.0.3 / chunking disabled but still error
by MmarcoM
hi all,
i m fighting trying to have myJ2ME cdlient to communicate iwht my EJB3 Webservice..
i noticed posts about http chunking, so i have disabled http chunking by setting this in deploy/tomcat/server.xml
this is the interface of my WS
| /**
| * Copyright @ 2006
| * By Marco Mistroni
| * Session EJB test
| */
| package com.mm.j2me.ejb;
|
| import java.util.Date;
| import java.util.List;
|
| import javax.ejb.Remote;
| import javax.ejb.Stateless;
| import javax.jws.WebService;
| import javax.jws.WebMethod;
| import javax.jws.WebParam;
| import javax.jws.WebResult;
| import javax.jws.soap.SOAPBinding;
|
| import javax.persistence.EntityManager;
| import javax.persistence.PersistenceContext;
| import javax.persistence.Query;
|
| import org.jboss.annotation.ejb.RemoteBinding;
| //import org.jboss.ws.annotation.PortComponent;
|
| import com.mm.j2me.core.Agency;
| import com.mm.j2me.core.JobApplication;
| import com.mm.j2me.core.Opportunity;
| import com.mm.j2me.core.User;
| import com.mm.j2me.core.WSFacade;
|
| @WebService (name="WSRemoteSEI",
| serviceName="WSFacade",
| targetNamespace="http://org.jboss.ws/ejb3ws")
| @SOAPBinding(style = SOAPBinding.Style.DOCUMENT,
| use=SOAPBinding.Use.LITERAL)
|
|
| @Stateless
| @Remote (WSFacade.class)
| @RemoteBinding( jndiBinding="/ejb3/WSRemoteSEI")
|
| public class TestFacade implements WSFacade{
|
| @PersistenceContext
| EntityManager em;
| public void deleteAgency(Agency agency) {
| // TODO Auto-generated method stub
| Query query = getQuery("findAgencyById");
| query.setParameter("id", agency.getId());
| Agency agencyToDelete = (Agency)query.getSingleResult();
| em.remove(agencyToDelete);
| }
|
| public void deleteJobApplication(JobApplication app) {
| Query query = getQuery("findJAById");
| query.setParameter("id", app.getId());
| JobApplication jaToDelete = (JobApplication)query.getSingleResult();
| em.remove(jaToDelete);
|
| }
|
| public void deleteOpportunity(Opportunity opp) {
| Query query = getQuery("findOpportunityById");
| query.setParameter("id", opp.getId());
| Opportunity oppToDelete = (Opportunity)query.getSingleResult();
| em.remove(oppToDelete);
|
| }
|
| public Agency[] getAllAgencies() {
| // TODO Auto-generated method stub
| Query query = getQuery("findAllAgencies");
| List<Agency> list = query.getResultList();
| Agency[] agencies = new Agency[list.size()];
| return (Agency[])(list.toArray(agencies));
| }
|
| public JobApplication[] getAllJobApplications() {
| return new JobApplication[]{};
| }
|
| public Opportunity[] getAllOpportunities() {
| //Query query = getQuery("findAllOpportunities");
| //return query.getResultList();
| return new Opportunity[]{};
| }
|
| public void insertAgency(Agency agency) {
| // TODO Auto-generated method stub
| em.persist(agency);
| }
|
| public void insertJobApplication(JobApplication app) {
| em.persist(app);
|
| }
|
| public void insertOpportunity(Opportunity opp) {
| em.persist(opp);
|
| }
|
|
|
| private Query getQuery(String name) {
| return em.createNamedQuery(name);
| }
|
|
| @WebMethod(action="urn:synchronizeAgency")
| public @WebResult(name="returnAgency")Agency[]
| synchronizeAgency(@WebParam(name="inAgency")Agency[] inAgency) {
| Agency[] agencies = new Agency[2];
| Agency ag = new AgencyEEjb();
| ag.setName("ag1");
| ag.setEmailAddress("test(a)email.com");
| ag.setJobHunter("fuckya");
| ag.setPhoneNumber("1234");
| ag.setSite("mysite");
| agencies[0] = ag;
| Agency ag2 = new AgencyEEjb();
| ag2.setName("ag2");
| ag2.setEmailAddress("t(a)email.com");
| ag2.setJobHunter("f222");
| ag2.setPhoneNumber("122222");
| ag2.setSite("mysite222");
| agencies[1] = ag2;
| return agencies;
| }
|
| @WebMethod(action="urn:synchronizeJobApplication")
| public @WebResult(name="returnJA")JobApplication[]
| synchronizeJobApplication( @WebParam(name="inJA")JobApplication[] inJA) {
| JobApplication[] jas = new JobApplication[2];
| JobApplication ja1 = new JobApplicationEEjb();
| ja1.setAgencyName("Pathway");
| ja1.setCompany("Sumitomo Bank");
| ja1.setDuration(6);
| ja1.setJobApplicationTitle("Tester");
| ja1.setLocation("Reading");
| ja1.setSalary("300/day");
| jas[0] = ja1;
| JobApplication ja2 = new JobApplicationEEjb();
| ja2.setAgencyName("Mann");
| ja2.setCompany("Lehman Brothers");
| ja2.setDuration(6);
| ja2.setJobApplicationTitle("Sw Engineer");
| ja2.setLocation("London");
| ja2.setSalary("400/day");
| jas[1] = ja2;
| return jas;
| }
|
|
| @WebMethod(action="urn:synchronizeOpportunity")
| public @WebResult(name="returnOpportunity")Opportunity[]
| synchronizeOpportunity(@WebParam(name="inOpp")Opportunity[] inOpp) {
| Opportunity[] opps = new Opportunity[2];
| Opportunity opps1 = new OpportunityEEjb();
| opps1.setAgencyName("IT People");
| opps1.setJobHunterName("Syed Ahmed");
| opps1.setOpportunityDetails("SW Engineer in London");
| opps1.setOpportunityDate(new Date().getTime());
| opps1.setOpportunityEmail("mm(a)tgmm.com");
| opps[0] = opps1;
| Opportunity opps2 = new OpportunityEEjb();
| opps2.setAgencyName("Computer People");
| opps2.setJobHunterName("Menachim Begin");
| opps2.setOpportunityDetails("SW Engineer in France");
| opps2.setOpportunityDate(new Date().getTime());
| opps2.setOpportunityEmail("mm(a)tgmm.com");
| opps[1] = opps2;
|
| return opps;
| }
|
| @WebMethod(action="urn:login")
| public void login(@WebParam(name="username")String user,
| @WebParam(name="password")String password) {
| System.err.println("----- loggging in.....");
|
| }
|
| // Original sample
| @WebMethod(action="urn:testWebServiceMethod")
| public @WebResult(name="returnAgency")Agency[]
| testWebServiceMethod( @WebParam(name="inAgency") Agency[] inAgency) {
|
| Agency[] agencies = new Agency[2];
| Agency ag = new AgencyEEjb();
| ag.setName("ag1");
| ag.setEmailAddress("test(a)email.com");
| ag.setJobHunter("fuckya");
| ag.setPhoneNumber("1234");
| ag.setSite("mysite");
| agencies[0] = ag;
| Agency ag2 = new AgencyEEjb();
| ag2.setName("ag2");
| ag2.setEmailAddress("t(a)email.com");
| ag2.setJobHunter("f222");
| ag2.setPhoneNumber("122222");
| ag2.setSite("mysite222");
| agencies[1] = ag2;
| return agencies;
| }
|
| public void storeAgency(Agency agency) {
| // TODO Auto-generated method stub
|
| }
|
| public void storeJobApplication(JobApplication ja) {
| // TODO Auto-generated method stub
|
| }
|
| public void storeOpportunity(Opportunity opp) {
| // TODO Auto-generated method stub
|
| }
| }
|
i am testing the login method (which returns void)
this is the response that my j2me client gets
| <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
| <env:Header/>
| <env:Body><ns1:loginResponse xmlns:ns1='http://org.jboss.ws/ejb3ws' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'/>
| </env:Body>
| </env:Envelope>
|
still, i am getting this exception from midp
AXRPcC EXception.
| javax.xml.rpc.JAXRPCException: java.rmi.MarshalException: (1)Missing end tag for Body or Envelope
| at com.sun.j2mews.xml.rpc.SOAPDecoder.decode(+243)
| at com.sun.j2mews.xml.rpc.OperationImpl.invoke(+90)
| at com.mm.j2me.ws.WSRemoteSEI_Stub.login(+48)
| at com.mm.j2me.midp.model.HTTPCommunicationHandler.createAccount(+36)
| at com.mm.j2me.midp.model.RemoteModelRequestHandler.createAccount(+16)
| at com.mm.j2me.midp.model.RemoteModelProxy.createAccount(+16)
| at com.mm.j2me.midp.model.ModelFacade.createAccount(+16)
| at com.mm.j2me.midp.ui.UIController$EventDispatcher.run(+277)
|
can anyone help pls? i have been stuck with this for 4 days....
thanks and regards
marco
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991773#3991773
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991773
19 years, 7 months
[Security & JAAS/JBoss] - Login encryption not working
by ewade
I have MD5 encrypted passwords in my database. I would like the login module to encrypt the plain text password before comparing to the database password. I have the following application policy set up in the login-config.xml file:
<application-policy name = "HsqlDbRealm">
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
<module-option name = "principal">sa</module-option>
<module-option name = "userName">sa</module-option>
<module-option name = "password"></module-option>
<module-option name="hashAlgorithm">MD5</module-option>
<module-option name ="hashEncoding">base64</module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
</login-module>
</application-policy>
But its not working. My login page is treating the password as plain text and not encoding it before comparison. What am I missing here?
(I am using JBoss 4.0.4 with Hibernate and Postgress 8.1.4.)
Thanks for the help!
Elise Wade
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991771#3991771
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991771
19 years, 7 months
[JBoss Seam] - Re: Seam configuration questions
by lightbulb432
I'm guessing those already-installed libs you mentioned would either be located in JBOSS/lib or JBOSS/server/lib and thus added to the classpath of appropriate deployments?
I've been having an issue understanding what exactly is on my classpath at any given time...if I'm looking for a given class, I'd like to do it from a centralized place rather than essentially "guessing" which JAR it's in, then looking through it, then making another guess as to whether that JAR is on the classpath (because there could be multiple versions of the same class deployed in one app, which probably happened with me because I added the myfaces classes on top of the JBoss built-in ones)
How can I do this in JBoss (see all classes currently on the classpath for a given deployment or application)? Is this something I can do from the jmx-console, or some very simple Java client I could write to interact with the app server that could tell me this?
I'd hope so, as this seems like a pretty useful or commonly-needed feature when developing on JBoss and troubleshooting problems with web or ejb apps...
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991770#3991770
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991770
19 years, 7 months
[EJB/JBoss] - Scheduler vs. EJB Timer Service
by evk
Hi,
Right now I have an application that's using the EJB Timer service (I have an MDB with a @Timeout public void timeout(javax.ejb.Timer t) method that is set to run every few seconds, indefinitely, as soon as the application is deployed.
Previous posts to these forums have indicated that the EJB Timer service is not in any way clustered... so if I had several Jboss nodes in a cluster, only one of them is running the Timer service, and if that single node went down, my timer would stop (and the timer is critical to my application).
So I was thinking of moving to the org.jboss.varia.scheduler.Scheduler MBean timer. But all the examples that I've seen are toy. The method invoked by the timer just logs. How do you make a Schedulable instance call an EJB method, for example? And how does deployment work if your Schedulable instance thus depends on an EJB? Right now I just have one .ear to deploy. Do I now need to deploy an .ear and a .sar? Do I need to worry about the deployment ordering?
Thanks,
--Erik
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991754#3991754
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991754
19 years, 7 months
[JBoss Portal] - Assesment of JB Portal for my needs....
by mickknutson
I can't tell you how cross eyed I am looking at the various CMS and portal solutions to decide on.
So, I was hoping to describe my general requirements, and hope that someone very familiar with JB portal can give me some insight as to how well JB Portal fits...
To start, I am creating a site to stream dance radio shows for various genre's of dance music. I also have plenty of content about each set, and the artist that performed each set. (we have thousands already) Then there will be a perpetual flash player to play these sets. Then the next phase is to integrate a shopping cart to purchase the songs from each set.
* Easy for non-developer staff to add and edit pages for the site.
* Ability for Artists to add set pages.
* SSO Integration with DB Users
* Ability to easily build application with Maven, and deploy on Dev, then PROD servers.
* Ability to use advanced Ajax for services.
* Integrated, search engine, or easy integration for content search.
* Ability to quickly and easily re-skin the overall look
Some questions:
============
* Can I deploy all portlets and libs in an ear with JB Portal?
* Is the content jsut stored with Jackrabbit? How can I synch content from DEV, QA and PROD for testing?
Are skins part of the build/war or are they part of the content stored in jackrabbit?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991747#3991747
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991747
19 years, 7 months
[JBoss Seam] - Re: Ajax¤JSF with Seam
by milesif
Hi everybody,
I am using jboss-4.0.5 and jboss-seam-1.1.0.CR1.
I have tried to use ajax4jsf in an application generated by reverse-engeneering.
I have followed the instructions I read in paragraph "14.2. Configure Ajax4jsf" of "JBoss Seam: Simplicity and Power Beyond Java EE 5.0":
1. I put the following xml in web.xml
<filter>
| <display-name>Ajax4jsf Filter</display-name>
| <filter-name>ajax4jsf</filter-name>
| <filter-class>
| org.ajax4jsf.Filter
| </filter-class>
| </filter>
| <filter-mapping>
| <filter-name>ajax4jsf</filter-name>
| <servlet-name>Faces Servlet</servlet-name>
| <dispatcher>REQUEST</dispatcher>
| <dispatcher>FORWARD</dispatcher>
| <dispatcher>INCLUDE</dispatcher>
| </filter-mapping>
| <context-param>
| <param-name>
| org.ajax4jsf.VIEW_HANDLERS
| </param-name>
| <param-value>
| com.sun.facelets.FaceletViewHandler
| </param-value>
| </context-param>
|
2. In faces-config.xml I commented
<view-handler>
| com.sun.facelets.FaceletViewHandler
| </view-handler>
|
3. I put META-INF ajax4jsf.jar, oscache-2.3.2.jar, el-api.jar, el-ri.jar, jsf-facelets.jar in <my-app>.jar of my <my-app>.ear
Finally I have replaced
<h:commandButton id="update" value="Save"
| action="#{usersHome.update}"
| rendered="#{usersHome.managed}"/>
|
with
<a4j:commandButton type="submit" value="Save"
| reRender="description"
| action="#{usersHome.update}"
| rendered="#{usersHome.managed}" />
in my .xhtml page.
I get the following error:
javax.el.PropertyNotFoundException: Bean: it.severn.data.UsersHome$$EnhancerByCGLIB$$54529d2b, property: update
at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:146)
at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at com.sun.facelets.el.ELText$ELTextVariable.toString(ELText.java:174)
Notice that I checked my deployment many times and it conforms to the previous instructions and that #{usersHome.update} is not a property, but an action.
A previous post (describing a very similar problem, but non explaining the solution) says that anonymous wrote : Facelets when not finding a tag library instead of putting up an ugly error message ingnores it and instead tries to evaluate the EL as a property access.
Does that means that Facelets do not find a4j tags? With seam tags everything is ok, of course.
Could anyone help me to find out where I am wrong ?
Thanks in advance Francesco
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991740#3991740
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991740
19 years, 7 months
[JBoss Seam] - Remote
by KoniKoni
Hello,
why does this not work:
public Wette getBet(int Flag){
|
| Wette wette = new Wette();
| wette.setId(1);
| return wette;
| }
| }
2006-12-06 19:03:17,449 ERROR [org.jboss.seam.remoting.ExecutionHandler] Error during remote request
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.remoting.Call.execute(Call.java:148)
at org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:87)
at org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:77)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy97.getBet(Unknown Source)
at kh.laola.remoteactions.RemoteLocal$$FastClassByCGLIB$$893fbbfe.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:69)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:78)
at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:47)
at kh.laola.remoteactions.RemoteLocal$$EnhancerByCGLIB$$372b924.getBet()
... 31 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:46)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(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.localInvoke(StatelessContainer.java:211)
at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
... 51 more
Caused by: java.lang.NoClassDefFoundError: javax/el/ELContext
at org.jboss.seam.util.UnifiedELValueBinding.(UnifiedELValueBinding.java:18)
at org.jboss.seam.core.Expressions$1.getFacesValueBinding(Expressions.java:69)
at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:51)
at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1668)
at org.jboss.seam.Component.getInstance(Component.java:1617)
at org.jboss.seam.Component.getInstance(Component.java:1594)
at org.jboss.seam.Component.getInstanceToInject(Component.java:1844)
at org.jboss.seam.Component.injectFields(Component.java:1344)
at org.jboss.seam.Component.inject(Component.java:1114)
at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:48)
... 105 more
Wette is a Entity Bean and i like acces from client site. If i select from db it is works.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991738#3991738
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991738
19 years, 7 months
[JBoss Seam] - [Booking Demo - Unit Test] The persistence manager doesnt fi
by littlewing1112
Hello,
I m currently testing Seam. The samples bundled (expecially BookingUnitTest) with the distribution work but notin my environment:
1- I splitted the sample in order to "be mavenized"
2- I changed the database to postgreSQL
3- add one more table
4- move queries to namedqueries
All the testcases work fine except the BookingUnitTest . This is really strange because, BookingTest runs fine.
It seems the entitymanager doesnt find entities. I always have this kind of error:
javax.persistence.PersistenceException: org.hibernate.hql.ast.QuerySyntaxException: Hotel is not mapped [from Hotel]
| at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:567)
| at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:79)
| at org.jboss.seam.example.booking.test.BookingUnitTest.testHotelBooking(BookingUnitTest.java:61)
| Caused by: org.hibernate.hql.ast.QuerySyntaxException: Hotel is not mapped [from Hotel]
| at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
| at org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
| at org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
| at org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:267)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3049)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2938)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544)
| at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
But a couple of lines ahead I have this line :
INFO] AnnotationBinder - Binding entity from annotated class: org.jboss.seam.example.booking.Hotel
Does boookingUnitTest call an another mechanism than BookinTest ??
Thanks in advance for your help!
Regards,
Alexandre
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991731#3991731
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991731
19 years, 7 months
[JBoss Seam] - Re: Possible component.xml problem in 1.1.0 CR2
by quilleashm
Tested without javaassist present
| SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
| at org.jboss.seam.deployment.Scanner.<init>(Scanner.java:39)
| at org.jboss.seam.deployment.Scanner.<init>(Scanner.java:32)
| at org.jboss.seam.deployment.NamespaceScanner.<init>(NamespaceScanner.java:19)
| at org.jboss.seam.init.Initialization.addNamespaces(Initialization.java:546)
| at org.jboss.seam.init.Initialization.<init>(Initialization.java:79)
| at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:65)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3826)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4335)
| 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 org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:625)
| at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:552)
| at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:487)
| at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1137)
| at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
| at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
| at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
| at org.apache.catalina.core.StandardService.start(StandardService.java:450)
| at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
| at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
| 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.catalina.startup.Bootstrap.start(Bootstrap.java:287)
| at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
|
Looks good to me. Thanks for the quick fix.
Cheers.
Mike.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991726#3991726
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991726
19 years, 7 months