[JBoss-user] [JBoss Seam] - Re: JAAS and SEAM
Ok guys, I've integrated JAAS with Seam, Facelets, MyFaces and jBMP pageflow. It works very fine! I've started with the information written by SunFire and locoetze in this topic. In pageflow.jpdl.xml I've called an action that put in http session j_username and j_password. | . |start-state name=start | transition to=index/ |/start-state | |page name=index view-id=/login.xhtml redirect=true | transition name=doLogin to=home | action expression=#{login.doLogin} / | /transition |/page | |page name=home view-id=/secure/home.xhtml redirect=true | end-conversation / |/page | . | I have put my action in a Stateless Session Bean annotated with @Name(login): | | @Stateless | @Name(login) | @Interceptors(SeamInterceptor.class) | @Scope(ScopeType.CONVERSATION) | public class LoginAction implements Login { | | private final static Log log = LogFactory.getLog(LoginAction.class); | |private String j_username; |private String j_password; | |@In |private FacesContext facesContext; | |@Create |@Begin(pageflow=cooperative-pageflow) |public void begin() |{ |log.debug(begin pageflow); |} | |public void doLogin() |{ |log.debug(login); |HttpServletRequest request = (HttpServletRequest)facesContext.getExternalContext().getRequest(); |request.getSession().setAttribute(j_username, j_username); |request.getSession().setAttribute(j_password, j_password); |} | | public void doLogout() { | //Contexts. | } | | public String getJ_password() { | return j_password; | } | | public void setJ_password(String j_password) { | this.j_password = j_password; | } | | public String getJ_username() { | return j_username; | } | | public void setJ_username(String j_username) { | this.j_username = j_username; | } | | | | } | After this I've changed login-config in web.xml by adding this line form-login-page/login/form-login-page So login-config tag in web.xml appears like this.. | | login-config | auth-methodFORM/auth-method | realm-namecooperative/realm-name | form-login-config | form-login-page/login/form-login-page | form-error-page/index.seam/form-error-page | /form-login-config | /login-config | | /login url call a LoginServlet that get j_username and j_password from http session and compose a JAAS url: /j_security_check?j_username=j_password= | package it.liser.cooperative.web.servlet; | | import java.io.IOException; | | import javax.servlet.ServletException; | import javax.servlet.http.HttpServlet; | import javax.servlet.http.HttpServletRequest; | import javax.servlet.http.HttpServletResponse; | import javax.servlet.http.HttpSession; | | /** | * Servlet Class | * | */ | public class LoginServlet extends HttpServlet { | | static final long serialVersionUID = 1147420275339L; | | public LoginServlet() { | super(); | } | | protected void doGet(HttpServletRequest req, HttpServletResponse resp) | throws ServletException, | IOException { | doLogin(req, resp); | } | | protected void doPost(HttpServletRequest req, HttpServletResponse resp) | throws ServletException, | IOException { | doLogin(req, resp); | } | | public void doLogin(HttpServletRequest request, HttpServletResponse response) | throws javax.servlet.ServletException, java.io.IOException { | // Grab the URI that was passed to login | HttpSession hSession = request.getSession(true); | | String lUsername = (String)hSession.getAttribute(j_username); | String lPassword = (String)hSession.getAttribute(j_password); | // Redirect to the servlet's login method. This means we login twice | // but we have to that or the server doesn't realise that we're logged | // in and we get redirected back to the login page. | java.lang.StringBuffer location = new java.lang.StringBuffer(request.getContextPath()); | location.append(/j_security_check?j_username=); | location.append((lUsername != null) ? lUsername : ); | location.append(j_password=); | location.append((lPassword != null) ? lPassword : ); | | | // XXX We are sending password as a GET and that
[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler Jboss
Hello. I have the problem with the scheduler. I follow these phases: 1- Create a session bean that implements Schedulable. 2- Implements the method perform and put there the code to be executedby Scheduler 3- create a jboss-service.xml and put this file in a sar file. Then during of deploy return me this error: ERROR [Scheduler$Listener] Handling a Scheduler call failed java.lang.NullPointerException at org.jboss.mx.loading.UnifiedClassLoader.findResources(UnifiedClassLoader.java:395) at java.lang.ClassLoader.getResources(ClassLoader.java:851) at com.sun.naming.internal.VersionHelper12$5.run(VersionHelper12.java:145) at java.security.AccessController.doPrivileged(Native Method) at com.sun.naming.internal.VersionHelper12.getResources(VersionHelper12.java:142) at com.sun.naming.internal.ResourceManager.getApplicationResources(ResourceManager.java:468) at com.sun.naming.internal.ResourceManager.getInitialEnvironment(ResourceManager.java:159) at javax.naming.InitialContext.init(InitialContext.java:215) at javax.naming.InitialContext.(InitialContext.java:175) at sistemiMW.ejb.RestartTimerBean.perform(RestartTimerBean.java:114) at org.jboss.varia.scheduler.Scheduler$Listener.handleNotification(Scheduler.java:1263) at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138) at $Proxy8.handleNotification(Unknown Source) at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:98) at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:83) at javax.management.timer.Timer.sendNotifications(Timer.java:441) at javax.management.timer.Timer.access$000(Timer.java:31) at javax.management.timer.Timer$RegisteredNotification.doRun(Timer.java:612) at org.jboss.mx.util.SchedulableRunnable.run(SchedulableRunnable.java:164) at org.jboss.mx.util.ThreadPool$Worker.run(ThreadPool.java:240) In method perform i call a business method of an entity bean. Any ideas to solving this problem? Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943213#3943213 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943213 --- 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] [EJB 3.0] - Re: lazy initialization leads to org.hibernate.LazyInitializ
Hello Cyril, but what is lazy loading good for if I alwayas have to preload lazy attributes bevore transfering them to the client? Is there now way to do this on demand in an elegant way? Some frameworks? Some design patterns? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943320#3943320 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943320 --- 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] [JBoss jBPM] - Re: Assignign default values to variables
Yes, I have an idea. Since it is not in the documentation (and in the db as you say, but that is no signal), it is likely that it is not possible. My idea would be to search the forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943214#3943214 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943214 --- 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] [JBoss jBPM] - Re: Assignign default values to variables
Maybe you could define some Aspect using AspectJ - Spring AOP or whatever that targets... TaskController.initializeVariables(TaskInstanace) and populate the variables values in the aspect. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943217#3943217 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943217 --- 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] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Error: Could not execute JDBC batch update NonSpecificEx
The Warning went away after adding the dependency in the ejb-timer-service.xml. I wm wondering if the following settings have anything to do with the JDBC batch update failure: 12:29:13,203 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled | 12:29:13,203 INFO [SettingsFactory] Automatic session close at end of transaction: disabled | 12:29:13,203 INFO [SettingsFactory] JDBC batch size: 15 | 12:29:13,203 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled | 12:29:13,203 INFO [SettingsFactory] Scrollable result sets: enabled | 12:29:13,203 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled | 12:29:13,203 INFO [SettingsFactory] Connection release mode: auto | 12:29:13,203 INFO [SettingsFactory] Default batch fetch size: 1 | 12:29:13,203 INFO [SettingsFactory] Generate SQL with comments: disabled | 12:29:13,203 INFO [SettingsFactory] Order SQL updates by primary key: disabled | 12:29:13,203 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory | 12:29:13,203 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory | 12:29:13,203 INFO [SettingsFactory] Query language substitutions: {} | 12:29:13,203 INFO [SettingsFactory] Second-level cache: enabled | 12:29:13,203 INFO [SettingsFactory] Query cache: disabled | 12:29:13,203 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider | 12:29:13,203 INFO [SettingsFactory] Optimize cache for minimal puts: disabled | 12:29:13,203 INFO [SettingsFactory] Structured second-level cache entries: disabled | 12:29:13,203 INFO [SettingsFactory] Statistics: disabled | 12:29:13,203 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled | 12:29:13,203 INFO [SettingsFactory] Default entity-mode: pojo | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943221#3943221 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943221 --- 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] [JBoss Messaging] - Message Queues with DatabaseServerLoginModule
I seem to be having trouble getting a reference to the Queue from jndi. I've setup a Scoped queue as follows: ?xml version=1.0 encoding=UTF-8? loader-repositoryjboss.messaging:loader=ScopedLoaderRepository loader-repository-configjava2ParentDelegation=false/loader-repository-config /loader-repository mbean code=org.jboss.jms.server.destination.Queue name=jboss.messaging.destination:service=Queue,name=pulseMailQueue xmbean-dd=xmdesc/Queue-xmbean.xml depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer 75000 2000 2000 The messaging-server.xml is as follows: ?xml version=1.0 encoding=UTF-8? !-- The JBoss Messaging service deployment descriptor. $Id: messaging-service.xml,v 1.1 2006/05/02 02:45:10 ovidiu Exp $ -- mbean code=org.jboss.jms.server.ServerPeer name=jboss.messaging:service=ServerPeer xmbean-dd=xmdesc/ServerPeer-xmbean.xml !-- ServerPeerID -- !-- DefaultQueueJNDIContext -- !-- DefaultTopicJNDIContext -- depends optional-attribute-name=ThreadPooljboss.messaging:service=ThreadPool depends optional-attribute-name=PersistenceManagerjboss.messaging:service=PersistenceManager depends optional-attribute-name=MessageStorejboss.messaging:service=MessageStore depends optional-attribute-name=ChannelMapperjboss.messaging:service=ChannelMapper !-- Set to -1 to completely disable client leasing -- java:/jaas/pulse-domain !-- Plug-ins -- mbean code=org.jboss.jms.server.plugin.DefaultThreadPool name=jboss.messaging:service=ThreadPool xmbean-dd=xmdesc/DefaultThreadPool-xmbean.xml !-- the default pool size -- mbean code=org.jboss.messaging.core.plugin.SimpleMessageStore name=jboss.messaging:service=MessageStore xmbean-dd=xmdesc/SimpleMessageStore-xmbean.xml !-- StoreID -- The login-config.xml domain config is as follows: application-policy name = pulse-domain login-module code=au.com.pulse.common.providers.jaas.LoggableDatabaseServerLoginModule flag=required module-option name=dsJndiNamejava:/jdbc/ScorpionJAAS/module-option module-option name = unauthenticatedIdentityanonymous/module-option module-option name=principalsQuery ![CDATA[ SELECT PASSWORD FROM P_USER WHERE LOGIN=? AND ACTIVE=1 AND EFFECTIVE = NOW() AND (EXPIRES IS NULL OR EXPIRES = NOW()) ]] /module-option module-option name=rolesQuery ![CDATA[ SELECT NAME, 'Roles' FROM VW_USER_ROLES WHERE login = ? ]] /module-option !--module-option name=hashAlgorithmSHA-1/module-option module-option name=hashEncodinghex/module-option-- module-option name=enableLoggingtrue/module-option /login-module login-module code=org.jboss.security.ClientLoginModule flag=required / /application-policy LoggableDatabaseServerLoginModule is just a subclass of DatabaseServerLoginModule that does some log statements on the method calls. When I try to get a queue using the following EJB3 session bean code the Queue is always null. I can get the ConnectionFactory, and the connection and establish a Session ok but cannot get the Queue from jndi: @Stateless @SecurityDomain(IPulseConstants.SECURITY_DOMAIN) //-- this is pulse-domain @Remote( { IMailFacade.class }) @RemoteBinding(jndiBinding = IMailFacade.JNDI_NAME_REMOTE) public class MailFacadeBean implements IMailFacade { Log log = LogFactory.getLog(MailFacadeBean.class); @Resource(authenticationType = AuthenticationType.CONTAINER) private SessionContext ctx; @TransactionAttribute(TransactionAttributeType.SUPPORTS) public void sendMail(String inputMessage) throws Exception { String destinationName = /queue/pulseMailQueue;
[JBoss-user] [JBoss jBPM] - can't generate new .class files in the output folder of web
hi, i wanna know how i can update the source webapp coz i couldn't generate new .class files in the build folder View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943225#3943225 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943225 --- 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] [JBoss Eclipse IDE (users)] - JBossIDE-Tutorial - problem
I'm newbie.. I've seen similar subjects, but no clues. Does anybody know why when trying to employ FiboApp.ear this error happens? 10:35:05,859 INFO [EJBDeployer] Deployed: file:/C:/Program Files/jboss-4.0.4.CR2/server/default/tmp/deploy/tmp56561FiboApp.ear-contents/FiboEJB.jar 10:35:05,906 INFO [TomcatDeployer] deploy, ctxPath=/fibo, warUrl=.../tmp/deploy/tmp56561FiboApp.ear-contents/FiboWeb-exp.war/ 10:35:05,921 WARN [ServiceController] Problem starting service jboss.web.deployment:war=FiboWeb.war,id=-1007395305 org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: ejb/Fibo, no ejb-link in web.xml and no jndi-name in jboss-web.xml) Pls help me to fix it. Thnx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943326#3943326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943326 --- 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] [JBoss Portal] - CMS url and CMSObjectCommandMapper : best way to debug ?
Hello, I am using a sub class of CMSPortlet, and the /content/... url does not work. I have no parameter passed to the doView method. The parameter path is null in the render request. I have checked many thing. the configuration of the CMSObjectCommandMapper in the jboss-service.xml is updated to send the request to my window : mbean | code=org.jboss.portal.core.cms.CMSObjectCommandMapper | name=portal:mapper=CMSObject | xmbean-dd=org/jboss/portal/core/cms/CMSObjectCommandMapper.xml | attribute name=Prefixcontent/attribute | !-- AHG : original | attribute name=TargetWindowRefdefault.default.DefaultCMSPortletWindow/attribute | -- | attribute name=TargetWindowRefdefault.defaultPage.SWPalCoreSimpleHtmlPagesMenuWindow/attribute | depends optional-attribute-name=Mapper proxy-type=attributeportal:mapper=PrefixDelegating/depends | depends optional-attribute-name=CMSService proxy-type=attributeportal:service=CMS/depends |/mbean if the url is wrong (no file exist), I get an exception from the CMSObjectCommandMapper, saying it can't find the file. if the file exists, the CMSObjectCommandMapper run with no message, but no parameter at all are set in the render request (that is executed for shure). I have looked at the code of the CMSObjectCommandMapper : can't see what's wrong. how can I debug this ? some advice ? overload the CMSObjectCommandMapper to add some debug info ? better idea ? Also : where can I find info, examples, etc... on the CommandMapper chain of responsability ? Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943328#3943328 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943328 --- 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] [Persistence,JBoss/CMP, Hibernate, Database] - Hibernate Interceptor and JBoss 4.0.2
Hi, We have an Java web application built using Hibernate3.0 and Spring framework running on JBoss 4.0.1. We use the Hibernate Interceptor to do the audit loggigng. We later migrated the application to Jboss 4.0.2. Whenever the audit logging is enabled we get the following exception org.hibernate.HibernateException: identifier of an instance of altered from 21311 to -1 We ran a test case outside the Jboss and every thing worked fine. Can you help us in finding out what could be the issue for this. The application is working fine Jboss 4.0.1 and only in Jboss 4.0.2 we face this issue. Thanks in advance. Regards Uday View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943231#3943231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943231 --- 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] [JBoss Seam] - Re: force new session ID, but don't invalidate session
No idea, but it's a Tomcat question... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943238#3943238 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943238 --- 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] [JBoss jBPM] - Re: Problem in required field attribute in default form cont
If you post enough info on the version of jBPM you are using we will try. I already requested this info in the other thread, but did not receive a response. Since you obviously read the other thread (you posted a reference to it) I assume you are aware of this earlier question. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943240#3943240 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943240 --- 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] [EJB/JBoss] - Re: Calling a remote ejb interface in app1.ear from a servle
Hey gang, This version of this thread is a better place to ask this. Please excuse the double post (also on thread http://www.jboss.com/index.html?module=bbop=viewtopict=81466) I have this exact problem too. I have two ear's that are isolated with by unique loader-repository elements in thier respective jboss-app.xmls. If a class of ear 1 want's to call a ejb bean of ear 2, I get NoClassDefFoundException. So I created a jar file with ear1's bean interfaces. Put the interfaces jar in ear2 root. Add an appropriate manifest entry. Now I get ClassCastExceptions. Is there a solution to this exact situation? thanks for your time, cgriffith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943265#3943265 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943265 --- 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] [EJB 3.0] - Re: lazy initialization leads to org.hibernate.LazyInitializ
There must be some sort of interceptor that does the lazy loading. Isn't it possible to modify this interceptor? If I understand the ejb specification correctly, custom interceptors are only possible for session and message beans, not for entity beans. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943331#3943331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943331 --- 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] [JBoss Messaging] - Re: Message Queues with DatabaseServerLoginModule
Can you show me your queue config? I.e. where you are deploying the queue. BTW using a block should allow you display your config properly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943332#3943332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943332 --- 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] [Management, JMX/JBoss] - how to configy=ure jboss to mysql access by a simple java cl
hi all how to configure jboss for mysql to be used in a simple java file/ in tomcat it used server.xml but how is with jboss. thnaks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=394#394 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=394 --- 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] [JBoss Seam] - Re: Script.aculo.us with Seam Remoting
Looked at how Seam might play with jMaki? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943334#3943334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943334 --- 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] [JBoss Messaging] - JBoss 1.5.0.GA and scoped deployments
Hi, I've just released JBoss AOP 1.5.0.GA. It contains some support for scoped classloading. I know jboss messaging is deployed as a scoped deployment, but not why. I believe it was because I added some features you needed to JBoss AOP which were not in a release at the time, and you needed your own AspectManager? I think the $implements/$implementing stuff is what you needed? Can you please test with JBoss AOP 1.5.0? It is a fresh branch off jboss-head, and if there are any pronblems I will get this resolved in 1.5.1 as needed. http://jira.jboss.com/jira/browse/JBMESSAGING-389 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943336#3943336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943336 --- 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] [EJB 3.0] - Re: Problem starting EJB3 ServiceBean
Sorry folks, fixed it. It was getting mixed up with some legacy 2.1 code that got dragged in by accident. Cleared that out and off it goes. Ian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943269#3943269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943269 --- 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] [JBoss AOP] - JBoss 1.5.0.GA released
It is a major milestone on the way towards the AOP 2.0 release. It contains a number of new features and bug fixes: http://jira.jboss.com/jira/secure/ReleaseNote.jspa?version=12310792styleName=HtmlprojectId=10055 One of the most exciting new features though is the support for aop within scoped deployments, which I will try to blog about in the not too distant future. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943337#3943337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943337 --- 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] [JBoss Messaging] - Re: JBoss 1.5.0.GA and scoped deployments
Wrong forum, moved to Design of Messaging View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943339#3943339 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943339 --- 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] [EJB 3.0] - Re: Combining EJB3 with MVC frameworks
Use JBoss Seam it rocks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943341#3943341 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943341 --- 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] [Management, JMX/JBoss] - Re: how to configy=ure jboss to mysql access by a simple jav
I believe you are looking for setting up datasources. If so, have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943343#3943343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943343 --- 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] [JBoss Getting Started Documentation] - Re: Dike's Bank example - build failed
I found the files at http://java.sun.com/j2ee/1.3/download.html#tutorial in j2ee-1_3-doc-tutorial-draft5.zip thanks go to victor.declerk for pointing me in the right direction View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943345#3943345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943345 --- 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] [JBoss Seam] - Re: Seam JSR168 Portlet and EJB3 and Facelets
I too would be very interested in seeing an example of this. Is there any news on this topic? Could you post an url if it's at your website? Thanks, -Stijn View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943347#3943347 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943347 --- 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] [EJB 3.0] - Re: Combining EJB3 with MVC frameworks
supernovasoftware.com wrote : I admit that the initial learning curve is a little steep, but when you see how easy complicated things become you will never look back. | | You will get JSF plus a fantastic framework to connect it to EJB3. | I'm more interested in the original question for now :-) If web frameworks will have to adapt to EJB3 then it will take some time before EJB3 is going to be really useful. The only option right now seems to be Seam or plain JSF I think. I know I can do most things with simple JNDI lookups like in the 'old days', but the annotations are what really makes EJB3 shine imo. S. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943349#3943349 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943349 --- 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] [JBoss Seam] - seam portability
Woud you inform me if seam framework is portable to other application servers different from JBoss 4.x ? Our company is interested in developping a great application in JBoss 4.x with seam and after that to operate the application on several application servers: BEA WebLogic, IBM Websphere and also JBoss 4.x. We see certain difficulty for getting this portability because there are some propietary descriptors as jboss-app.xml that apparently mean a dependency of JBoss4.x Thanks for your answers. Maria Consuelo Franky [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943353#3943353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943353 --- 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] [Security JAAS/JBoss] - Caveat about Dynamic Login Config Service
http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig This is a great service when you need to dynamically load the jaas configuration for the security service. In the service, you can optionally specify (in fact we should kind of mandate it), the AuthConfig attribute to refer to a login-config.xml. If you do not specify this AuthConfig attribute, then the service defaults to the global login-config.xml (in the conf directory of your server configuration). The issue that I have seen in this case is if you stop or undeploy this service, then the default jaas configuration emanating from the global login-config.xml is offloaded and the security manager will start having issues. For this reason, it is recommended to specify a login-config.xml as part of your sar. I have updated the wiki page with this caveat. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943354#3943354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943354 --- 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] [EJB 3.0] - Re: Cascade problem
I'm having the same problem. I have a OneToMany relationship and regardless of whether I remove an object from the relationship, clear all of the objects in the relationship or replace the relationship with a new empty set the changes are never propagated to the 'Many' table. Here is how I have things mapped In Test1.java: | @OneToMany( fetch = FetchType.LAZY, mappedBy = test1Id) | public SetTest2 getTest2s() { | return this.test2s; | } | In Test2.java: | @ManyToOne(cascade = {}, fetch = FetchType.LAZY) | @JoinColumn(name = TEST1ID, unique = false, nullable = false, insertable = true, updatable = true) | public Test1 getTest1() { | return this.test1; | } | I've also tried this with just having the primitive Id field in Test2 and no mapping at all but regardless of how I perform the operation it doesn't work. We're using Jboss 4.0.4 cr2 Anyone have an idea what is going on and/or how to fix it? thanks, Drew View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943286#3943286 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943286 --- 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] [JBoss Eclipse IDE (users)] - Problem downloading JBossIDE-1.5.1.GA-ALL.zip
I've just tried to install the IDE on a new PC, I'm finding that the Update Software option is failing as one of the files downloaded is corrupted. (Using url http://download.jboss.org/jbosside/updates/stable) I also tried by downloading JBossIDE-1.5.1.GA-ALL.zip and the md5 checksum for the file. Using md5summer it told me the check sum did not match the contents of the zip file. Both winzip and winrar informed me that there was a problem with the file. I tried a number of mirroes and all show the same problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943355#3943355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943355 --- 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] [JBoss jBPM] - Re: Problem installing BPEL extension - Found problem
I had JBoss4.0.3SP1 and jdk was 1.4.2_07. This combination throws MBean not yet installed error. When I switch to jdk1.5.0_06 it works. Thought I would share with the community so that someone else knows how to work around my original problem. Now I have new issue though. My jBPM-BPEL is installed on JBoss and I am working on the 'Hello' example. When I try to run create-schema target I get following exception - java.lang.UnsupportedClassVersionError: org/jbpm/bpel/ant/WebDBSchemaTask (Unsup ported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader .java:1003) at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa der.java:1065) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:103 7) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:926 ) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:230) at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162) at org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(Pr ojectHelperImpl.java:821) at org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElem ent(ProjectHelperImpl.java:300) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl .java:155) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav a:117) at org.apache.tools.ant.Main.runBuild(Main.java:597) at org.apache.tools.ant.Main.start(Main.java:196) at org.apache.tools.ant.Main.main(Main.java:235) From the error description it seems like mismatch in version number of jdk. I am going to try to run ant with jdk1.4. Please let me know if there some other fix. Thank you Meghana View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943295#3943295 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943295 --- 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] [EJB 3.0] - Error initializing MDB in embedded container
Version: JBoss EJB3 Embeddable ALPHA 5 I am writing JUnit tests that run in the embedded container. If I'm only using Stateless Session Beans, the server starts and the tests run. I've added some MDBs recently, and now I see this during startup: | [junit] INFO 13-05 13:12:49,541 (Ejb3AnnotationHandler.java:getContainers:1 | 56) -found EJB3: ejbName=EmailService.AccountHistory, class=emailservice.AccountHistoryImpl, type=STATELESS | [junit] INFO 13-05 13:12:49,635 (Ejb3AnnotationHandler.java:getContainers:1 | 56) -found EJB3: ejbName=EmailService.ForgotPasswordMDB, class=emailservice.ForgotPasswordMDB, type=MESSAGE_DRIVEN | [junit] INFO 13-05 13:12:49,650 (Ejb3AnnotationHandler.java:getContainers:1 | 56) -found EJB3: ejbName=EmailService.Mailer, class=emailservice | .MailerImpl, type=STATELESS | [junit] INFO 13-05 13:12:49,650 (Ejb3AnnotationHandler.java:getContainers:1 | 56) -found EJB3: ejbName=EmailService.TemplateLoader, class=emai | lservice.TemplateLoaderImpl, type=STATELESS | [junit] INFO 13-05 13:12:49,666 (Ejb3AnnotationHandler.java:getContainers:1 | 56) -found EJB3: ejbName=EmailService.TestMDB, class=emailservic | e.TestMDB, type=MESSAGE_DRIVEN | [junit] INFO 13-05 13:12:49,681 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 234 | [junit] INFO 13-05 13:12:49,837 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 156 | [junit] INFO 13-05 13:12:51,616 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 1779 | [junit] INFO 13-05 13:12:52,880 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 1264 | [junit] INFO 13-05 13:12:53,021 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 141 | [junit] INFO 13-05 13:12:53,036 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 0 | [junit] INFO 13-05 13:12:53,145 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 109 | [junit] INFO 13-05 13:12:54,519 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 1374 | [junit] INFO 13-05 13:12:55,033 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 514 | [junit] INFO 13-05 13:12:55,033 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 0 | [junit] INFO 13-05 13:12:55,455 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 406 | [junit] INFO 13-05 13:12:55,564 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 109 | [junit] INFO 13-05 13:12:56,188 (Ejb3Deployment.java:create:444) -EJB3 dep | loyment time took: 624 | [junit] INFO 13-05 13:12:56,235 (MCKernelAbstraction.java:install:79) -ins | talling bean: jboss.j2ee:service=EJB3,jar=r3-email-service,name=EmailService.Acc | ountHistory with dependencies: | [junit] INFO 13-05 13:12:56,656 (MCKernelAbstraction.java:install:79) -ins | talling bean: jboss.j2ee:service=EJB3,jar=r3-email-service,name=EmailService.For | gotPasswordMDB with dependencies: | [junit] ERROR 13-05 13:12:56,781 (AbstractController.java:incrementState:350 | ) -Error installing to Start: name=jboss.j2ee:service=EJB3,jar=r3-email-service | ,name=EmailService.ForgotPasswordMDB state=Create | [junit] java.lang.IllegalStateException: No 'jboss' MBeanServer found! | [junit] at org.jboss.mx.util.MBeanServerLocator.locateJBoss(MBeanServerL | ocator.java:122) | [junit] at org.jboss.ejb3.mdb.MDB.createProxies(MDB.java:324) | [junit] at org.jboss.ejb3.mdb.MDB.start(MDB.java:250) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces | sorImpl.java:39) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet | hodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.di | spatch(ReflectMethodJoinPoint.java:72) | [junit] at org.jboss.kernel.plugins.dependency.KernelControllerContextAc | tions.dispatchJoinPoint(KernelControllerContextActions.java:96) | [junit] at org.jboss.kernel.plugins.dependency.KernelControllerContextAc | tions$LifecycleAction.installAction(KernelControllerContextActions.java:476) | [junit] at org.jboss.kernel.plugins.dependency.KernelControllerContextAc | tions$KernelControllerContextAction.install(KernelControllerContextActions.java: | 171) | [junit] at org.jboss.dependency.plugins.AbstractControllerContextActions | Do I need to modify any of the config files for my embedded container in order for MDBs to load? Thanks, -- James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943364#3943364
[JBoss-user] [Messaging, JMS JBossMQ] - Communication between SAR and WAR
I have a web application deployed as a war file in JBoss. I have a SAR that monitors specific directories that can be populated with files coming from the web interface or a separate FTP interface. Currently, the WAR and SAR communicate via JMS messages. But now that they are executing on the same machine, are there better means of communication within the JBoss framework? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943296#3943296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943296 --- 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] [JBoss.NET] - unable to pass simple javabean in method call
I have a siimple HelloWorld web service with 2 method calls. 1. helloWorld that takes a string as an argument and just prints it 2. helloWorldSpecial that takes a simple javabean and does nothing. When I have just the first method, all works fine When I add the second method, jboss complains that a mapping could not be found and does not deploy the web service. I use Axis java2wsdl to generate the wsdl. What mapping do I need to specify in jaxrpc-mapping to get the web service to deploy successfully. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943297#3943297 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943297 --- 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] [EJB 3.0] - NullPointerException in StatefulRemoveFactory
JBoss 4.0.4 CR 2 jboss-EJB-3.0_RC6 I'm trying to deploy a stateful session bean and getting a NullPointerException. Any suggestions would be appreciated: 2006-05-12 17:05:12,945 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:ear=crm-2.0-SNAPSHOT.ear,jar=crm-ejb-2.0-SNAPSHOT.jar,name=CustomerManagerBean,service=EJB3 java.lang.NullPointerException at org.jboss.ejb3.stateful.StatefulRemoveFactory.createPerJoinpoint(StatefulRemoveFactory.java:56) at org.jboss.aop.advice.AspectFactoryDelegator.createPerJoinpoint(AspectFactoryDelegator.java:97) at org.jboss.aop.advice.ScopedInterceptorFactory.create(ScopedInterceptorFactory.java:74) at org.jboss.aop.Advisor.createInterceptorChain(Advisor.java:531) at org.jboss.aop.Advisor.resolveMethodPointcut(Advisor.java:572) at org.jboss.aop.ClassContainer.createInterceptorChains(ClassContainer.java:221) at org.jboss.aop.ClassContainer.rebuildInterceptors(ClassContainer.java:100) at org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.java:42) at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:521) at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:82) at org.jboss.ejb3.stateful.StatefulContainer.start(StatefulContainer.java:84) 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.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190) at $Proxy60.start(Unknown Source) at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:77) at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:437) at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:484) at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
[JBoss-user] [JBoss Getting Started Documentation] - Re: Dike's Bank example - build failed
In a correction to my last posting though you should download j2ee-1_4-doc-tutorial_2.zip other versions will not compile correctly. Once I had downloaded this version I got the tutorial up and running very quickly with just having to change the settings in jboss-build.properties file. I was using JBoss_4_0_3_SP1 JVM 1.5.0_06 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943367#3943367 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943367 --- 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] [JBoss jBPM] - Urgent!!!!!! EAI with jBPM
Hi evrybody I try to work with jBPm as an EAI to join 3 dedicated applications. But still now i dont find the convenient documentation. Plz someone have any suggestion Plz it really important!!! Thx in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943368#3943368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943368 --- 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] [JBoss Seam] - Re: Seam JSR168 Portlet and EJB3 and Facelets
Thank you, Colin! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943369#3943369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943369 --- 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] - How do map one-to-many properly?
I have a scenario, which is very easy: Gender 1 --- * Singer So in Singer class, I have a Gender object where in Gender class, I have list of Singer objects. Here are the source codes: | public class Gender implements Serializable { | private long id; | private String type; | private String description; | private List singer; | public Gender() { | super(); | // TODO Auto-generated constructor stub | } | public String getDescription() { | return description; | } | public void setDescription(String description) { | this.description = description; | } | public long getId() { | return id; | } | public void setId(long id) { | this.id = id; | } | public String getType() { | return type; | } | public void setType(String type) { | this.type = type; | } | public List getSinger() { | return singer; | } | public void setSinger(List singer) { | this.singer = singer; | } | } | | public class Singer implements Serializable { | private long id; | private String firstname; | private String lastname; | private Gender gender; | | public Singer() { | super(); | // TODO Auto-generated constructor stub | } | | public String getFirstname() { | return firstname; | } | public void setFirstname(String firstname) { | this.firstname = firstname; | } | public Gender getGender() { | return gender; | } | public void setGender(Gender gender) { | this.gender = gender; | } | public long getId() { | return id; | } | public void setId(long id) { | this.id = id; | } | public String getLastname() { | return lastname; | } | public void setLastname(String lastname) { | this.lastname = lastname; | } | } | These are their mapping files: | hibernate-mapping | class name=net.andyleung.multimedia.mp3.entity.Gender table=gender | id name=id column=id | generator class=native/ | /id | property name=description column=description / | property name=type column=type / | | list name=singer | key column=id not-null=true/ | list-index column=gender/ | one-to-many class=Singer/ | /list | /class | /hibernate-mapping | | hibernate-mapping | class name=net.andyleung.multimedia.mp3.entity.Singer table=singer | id name=id column=id | generator class=native/ | /id | property name=firstname/ | property name=lastname/ | many-to-one name=gender class=Gender column=gender not-null=true update=false insert=false/ | !-- | many-to-one name=country class=Country column=country not-null=true update=false insert=false/ | list name=album | key column=singer not-null=true/ | list-index column=singer/ | one-to-many class=Album/ | /list-- | /class | | /hibernate-mapping | But somehow it says my Singer is mapping incorrectly. Any clue? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943373#3943373 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943373 --- 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] [JBoss jBPM] - Re: can't generate new .class files in the output folder of
in other words, can u explain me how can i update the classes of the source folder java.webapp coz i wanna add a pwd in the login action thx, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943374#3943374 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943374 --- 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] [JBoss jBPM] - Re: can't generate new .class files in the output folder of
You should be able to make any changes you want to the webapp sources and then rebuild the webapp using the build.webapp target in the build.deploy.xml ant build script. It will rebuild the war file, which you can then deploy to your server, replacing the existing one. It worked for me at least. Does that answer your question? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943377#3943377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943377 --- 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] [JBoss Seam] - Re: Seam JSR168 Portlet and EJB3 and Facelets
I would love it if you could get this information up on the wiki... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943379#3943379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943379 --- 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] [Installation, Configuration Deployment] - Suse 10 : bad argument for IP_MULTICAST_IF
Hi, I am so close, yet so far to get the latest production release of JBoss up and running on a fresh install of Suse 10. I installed Java 1.5 with the JAVA_HOME set properly. When I start the server it scrolls many stack traces all starting with the error: java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface I have no clue how to troubleshoot this? thanks A View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943375#3943375 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943375 --- 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] [JBossWS] - java.lang.System.arraycopy problem
Running jboss AS 4.04 CR2 with JBoss WS GA jars/sar installed. I get the following error: [wstools] java.lang.NullPointerException [wstools] at java.lang.System.arraycopy(Native Method) [wstools] at org.apache.xerces.impl.xs.XSModelImpl.getAnnotations(Unknown Source) [wstools] at org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.copyXSModel(WSSchemaUtils.java :737) [wstools] at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:201) [wstools] at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:227) [wstools] at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118) [wstools] at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.ja va:145) [wstools] at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:110) [wstools] at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.jav a:322) [wstools] at org.jboss.ws.tools.WSTools.process(WSTools.java:132) [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:119) [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [wstools] at org.apache.tools.ant.Task.perform(Task.java:364) [wstools] at org.apache.tools.ant.Target.execute(Target.java:341) [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:369) [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [wstools] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:4 0) [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:668) [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:187) [wstools] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) [wstools] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) When I try to use the following WSDL that is generated by the server: definitions name='KeyManagementEndpointService' targetNamespace='http://keymanagement.jbossnetwork.jboss.com/jaws' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://keymanagement.jbossnetwork.jboss.com/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema' schema elementFormDefault='qualified' targetNamespace='http://keymanagement.jbossnetwork.jboss.com/jaws' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://keymanagement.jbossnetwork.jboss.com/jaws' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/ soap:operation soapAction=''/ soap:body namespace='http://keymanagement.jbossnetwork.jboss.com/jaws' use='literal'/ soap:body namespace='http://keymanagement.jbossnetwork.jboss.com/jaws' use='literal'/ soap:operation soapAction=''/ soap:body namespace='http://keymanagement.jbossnetwork.jboss.com/jaws' use='literal'/ soap:body namespace='http://keymanagement.jbossnetwork.jboss.com/jaws' use='literal'/ soap:address location='http://gamemaster:8080/keymanagement/KeyManagementBean'/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3943382#3943382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3943382 --- 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