[JBoss-user] [JBoss Portal] - Re: JBoss Seam example working in JBoss Portal 2.4 BETA1

2006-07-10 Thread alesj
anonymous wrote : | Do you have a working project that I can have a look? | With that configuration - not yet. But we have a working project with http://www.energetika.net - built on ejb3 and jbp2.0. anonymous wrote : | What is the procedure to deploy all these modules without

[JBoss-user] [JBoss/Spring Integration] - Re: JBoss-Spring with Spring 2.0-rc1 NoClassDefFoundError

2006-07-07 Thread alesj
Will have a look at it as soon as I can. Hopefully over the weekend. I'll do a post on this issue when I do an update. Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3956215#3956215 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: How to get Portal User

2006-07-03 Thread alesj
See UserModule class. You can get its instance from JNDI. | @JndiInject(jndiName = ModuleConstants.USERMODULE_JNDINAME) | private UserModule userModule; | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954989#3954989 Reply to the post :

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate and Lucene: Where is the index?

2006-06-30 Thread alesj
Debug. See if the listener is actually called on persist - or in your case probably why not? Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954601#3954601 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954601

[JBoss-user] [EJB 3.0] - MDPOJOs state type question + ExceptionListener on Producer?

2006-06-30 Thread alesj
Using JBossAS 4.0.4GA and EJB3 RC8 FD. 1. | public static void main(String[] args) throws Exception | { | InitialContext ctx = new InitialContext(); | QueueTestRemote tester = | (QueueTestRemote)ctx.lookup(QueueTestRemote.class.getName()); | | ProducerObject po =

[JBoss-user] [EJB 3.0] - Re: ActiveMQ Integration

2006-06-30 Thread alesj
If it is dependent on jmx it doesn't mean it is dependent on JBossMQ. Like all services in JBossAS, JMS is also registered in MBeanServer - and that's why it looks there to find Destination. Ok, these are my first thoughts - haven't really digged into JBoss MDB + JMS. View the original post :

[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0

2006-06-30 Thread alesj
Look at the jars in ejb3.deployer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954651#3954651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954651 Using Tomcat but need to do more? Need to support web services,

[JBoss-user] [JBoss Portal] - Re: User role change

2006-06-30 Thread alesj
Look at the RoleModule class. And you can get it from JNDI: | @JndiInject(jndiName = ModuleConstants.ROLEMODULE_JNDINAME) | private RoleModule roleModule; | Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954655#3954655 Reply to the

[JBoss-user] [JBoss Portal] - Re: How to support 2 Login method

2006-06-30 Thread alesj
Read manual about security. 1. you simply set FORm auth in web.xml 2. a bit more work View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954711#3954711 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954711 Using Tomcat but

[JBoss-user] [EJB 3.0] - Re: Creating MBeans using EJB 3.0

2006-06-30 Thread alesj
Try running against the latest JBossAS 4.0.4.GA. Or look hiw this diff's from last EJB3 embeddable. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954755#3954755 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954755 Using

[JBoss-user] [EJB 3.0] - Re: How to intercept Entity Beans in EJB3.0 using the Embedd

2006-06-30 Thread alesj
Use basic EJB3 entity callback annotations. Or are they not enough? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954760#3954760 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954760 Using Tomcat but need to do more? Need

[JBoss-user] [JBoss/Spring Integration] - Re: Spring deployer - splitting conf files

2006-06-29 Thread alesj
anonymous wrote : | Thanks for your answer. I indeed meant jboss-spring.xml . so we have a .spring file that contains our pojos, and under META-INF, our *-spring.xml . I tried that and JBoss complained that it could not find jboss-spring.xml, so i added an empty one : | | ?xml

[JBoss-user] [JBoss Portal] - Wrong link in a portlet

2006-06-29 Thread alesj
Using Seam and JBP 2.4. I have 2 portlets on my page. One of them is a login portlet. After login I display the following logout jsp in this login portlet: | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h % | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f % | f:view |

[JBoss-user] [JBoss Portal] - Re: Custom Login Page

2006-06-29 Thread alesj
Maybe this can help you: - http://wiki.jboss.org/wiki/Wiki.jsp?page=PortletLogin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954361#3954361 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954361 Using Tomcat but need

[JBoss-user] [JBoss/Spring Integration] - Re: Spring deployer - splitting conf files

2006-06-28 Thread alesj
anonymous wrote : | We are deploying our spring beans in JBoss through the JBoss Spring deployer which requires that we use only one configuration file, jboss-service.xml. | Configuration of your pojos is not in jboss-service.xml (file only contains deployer configuration), but it's in

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Http Session Timeout does not work properly

2006-06-27 Thread alesj
anonymous wrote : | What does the tomcat stats servlet say about the app (http://lamia:8080/status?full=true)? | Where do I find status app? Is it a part of 'all' AS configuration? Some info about AS, OS and Java 19:58:09,233 INFO [Server] Release ID: JBoss [Zion] 4.0.4.CR2 (build:

[JBoss-user] [JBoss/Spring Integration] - Re: Spring Application Context / JBoss

2006-06-26 Thread alesj
Not the right forum. Search on Spring forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953377#3953377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953377 Using Tomcat but need to do more? Need to support web

[JBoss-user] [JBoss/Spring Integration] - Re: JBoss/Spring development

2006-06-26 Thread alesj
Like I already told you: 1. read what JBoss/Spring Integration is all about (see wiki) - and it is not about how you get you web app context up and running 2. I believe Spring forum has tons of this helping issues, and tons of examples , ... 3. what are you trying to do? simple instantiation of

[JBoss-user] [JBoss/Spring Integration] - Re: Spring Application Context / JBoss

2006-06-26 Thread alesj
Np. If you have some other usage than plain web app context, maybe then JBoss/Spring integration can be useful. But for plain web app context - it's very simple - I think all you need is a right Servlet Listener defined in your web.xml. View the original post :

[JBoss-user] [JBoss Seam] - Re: Wrong link in a portlet

2006-06-26 Thread alesj
Can something similar be the cause of my wrong link? - http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html?page=1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953444#3953444 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: issue with lazy loading of springframework

2006-06-23 Thread alesj
This is not the right forum to ask this: - java.sys-con.com/read/180386.htm Ok, but here is a little tip: | bean id=dataSource class=org.springframework.jndi.JndiObjectFactoryBean | property name=lookupOnStartup value=false/ | property name=proxyInterface |

[JBoss-user] [JBoss/Spring Integration] - Re: issue with lazy loading of springframework

2006-06-23 Thread alesj
Hmmm ... -ds.xml files should by default be deployed before .war files. Did you change any deployment suffix settings? Look if there is an exception before or at -ds.xml deployment, Or if jndi name is wrong. View the original post :

[JBoss-user] [JBoss/Spring Integration] - Re: issue with lazy loading of springframework

2006-06-23 Thread alesj
What's the cause here? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953116#3953116 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953116 Using Tomcat but need to do more? Need to support web services, security? Get stuff

[JBoss-user] [JBoss Seam] - Wrong link in a portlet

2006-06-09 Thread alesj
I have 2 portlets on my page. One of them is a login portlet. After login I display the following logout jsp in this login portlet: | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h % | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f % | f:view | h:form | Hello

[JBoss-user] [JBoss Seam] - Re: Seam component hides managed bean with same name

2006-06-09 Thread alesj
[EMAIL PROTECTED] wrote : It means there is a bean in a JSF context variable with the same name as a Seam component. I'm using Seam with JBoss Portal. I get the same warning on a simple logout: | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h % | %@ taglib

[JBoss-user] [JBoss/Spring Integration] - Re: hot deployment of spring application in JBoss

2006-06-07 Thread alesj
Not what this forum is about: - java.sys-con.com/read/180386.htm Try on Spring forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949591#3949591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949591

[JBoss-user] [JBoss/Spring Integration] - Re: Spring and EJB3 EntityManager

2006-06-06 Thread alesj
This is what first comes to my mind: | @Stateless | public class myBean implements myBeanLocal { | | @PersistenceContext(unitName = MM) | private EntityManager em; | | @Spring(jndiName = mm, bean=myDao) | private MyDao myDao; | | @AroundInvoke | public

[JBoss-user] [JBoss/Spring Integration] - JBoss/Spring release

2006-06-05 Thread alesj
Uf, finally some update on our stuff. First there is update on the EJB3 compatible stuff with JBoss AS 4.0.4.GA. The second release is update with EJB3 preview RC8. http://sourceforge.net/project/showfiles.php?group_id=22866package_id=161914 Try it out. Report any bugz here. :-) Rgds, Ales

[JBoss-user] [JBoss/Spring Integration] - Re: New build for Spring Integration

2006-06-05 Thread alesj
Ok? http://www.jboss.org/index.html?module=bbop=viewtopicp=3949246#3949246 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3949247#3949247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3949247

[JBoss-user] [JBoss/Spring Integration] - Re: New build for Spring Integration

2006-06-01 Thread alesj
I forwarded your request to Bill Burke, since he did the two previous releases. I hope he finds some time as soon as possible. Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948544#3948544 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: error at startup: 'jbossportal.jbp_users' doesn't exist

2006-05-31 Thread alesj
[EMAIL PROTECTED] wrote : | Watch out the problem with MySQL 5 (see other forum threads and Wiki) | What problems? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948013#3948013 Reply to the post :

[JBoss-user] [JBoss Portal] - JBoss Seam example working in JBoss Portal 2.4 BETA1

2006-05-31 Thread alesj
:-) Got it working ... from the latest JBoss Portal 2.4 CVS Head. Rgds, Ales ps: is this normal behaviour ... when I minimize Seam portlet ... it logs off View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948052#3948052 Reply to the post :

[JBoss-user] [JBoss Portal] - Re: JBoss Seam example working in JBoss Portal 2.4 BETA1

2006-05-31 Thread alesj
How else do you log off? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948173#3948173 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3948173 --- All the advantages of

[JBoss-user] [JBoss Seam] - Re: Resources.getResourceAsStream not multiple war safe

2006-05-29 Thread alesj
rdewell wrote : This also is not multiple WAR (in one EAR) safe: | | | |private static boolean exists = false; | | | |protected AbstractSeamPhaseListener() | |{ | | if (exists) log.warn(There should only be one Seam phase listener per application);

[JBoss-user] [JBoss Seam] - Re: Seam and IntelliJ IDEA packing

2006-05-27 Thread alesj
I was thinking of zipping em up into a jar, putting that in the EAR, and naming it as a java module in application.xml Hmmm ... Since I believe you can only add ejb and web modules into ear module. And application.xml only excepts ejb and web tag inside module tag. So, I can add a new java

[JBoss-user] [JBoss Seam] - Re: Seam and IntelliJ IDEA packing

2006-05-27 Thread alesj
anonymous wrote : | This is not correct. application.xml accepts java modules. | Great. So how do I define them? Any thoughts why then IDEA doesn't support this in application.xml? anonymous wrote : | I was thinking of zipping em up into a jar, putting that in the EAR | How do you

[JBoss-user] [JBoss Seam] - Re: Seam and IntelliJ IDEA packing

2006-05-27 Thread alesj
| module | javajboss-seam.jar/java | /module | How to get IDEA to 'grab' this jar and pack it into ear? If I do it this way (although it looks that is works - is this 'correct' way to add resources to application) anonymous wrote : | So, I can add a new java module -

[JBoss-user] [JBoss Seam] - Seam and IntelliJ IDEA packing

2006-05-26 Thread alesj
Is there a way to package all those jBPM dependant xml descriptors directly into EAR's archive root - the way it is packaged now in the dvdstore example? app-with-seam-and-jbpm.ear - META-INF/application.xml - META-INF/jboss-app.xml - pageflow.jpdl.xml - jbpm.cfg.xml - hibernate.cfg.xml

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Http Session Timeout does not work properly

2006-05-25 Thread alesj
Auch, this just doesn't go away ... JBossAS 4.0.4GA I have like 800 session that are still alive .. and the stuff is just getting bigger: | User Streams | Bot Streams | Both | | 66.249.65.36 [1 reqs][last click 0 min ago] | 66.249.65.36 [1 reqs][last click 0 min ago] |

[JBoss-user] [JBoss/Spring Integration] - Re: Problem spring-deployer and jboss 4.0.4GA

2006-05-23 Thread alesj
What's the exception (it should be there I believe)? It's possible that some ejb3 dependency failed - since ejb3 stuff changes a lot. If you give me exact problem, I'll try to bild you a new Spring deployer budle. Rgds, Ales View the original post :

[JBoss-user] [JBoss/Spring Integration] - Re: Problem spring-deployer and jboss 4.0.4GA

2006-05-23 Thread alesj
Did you fix ejb3-annotations-aop.xml? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945669#3945669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945669 --- Using

[JBoss-user] [JBoss/Spring Integration] - Re: Problem spring-deployer and jboss 4.0.4GA

2006-05-23 Thread alesj
Or are you using Interceptors? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945670#3945670 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945670 --- Using Tomcat but

[JBoss-user] [JBoss/Spring Integration] - Re: You are trying to use a connection factory that has been

2006-05-22 Thread alesj
This is not 'Spring/Hibernate used in JBossAS' forum. Read what this forum is about: http://java.sys-con.com/read/180386.htm Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945311#3945311 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: You are trying to use a connection factory that has been

2006-05-22 Thread alesj
You missed the point - wrong forum! Ok, a little help. This probably happens after you re-deploy your -ds.xml? If so, check out 'JCA/JBoss DataSource and Legacy Configuration' or ' Persistence,JBoss/CMP, Hibernate, Database Persisting your Application's Data' forum. It should be there - I know

[JBoss-user] [JBoss/Spring Integration] - Re: simple setup spring/hibenate setup

2006-05-19 Thread alesj
As mentioned here: anonymous wrote : | this is not the right forum to discuss this. But if you are starting from zero - use JBossAS with EJB3 - way easier than anything else - even from .har and Spring's H3 support. View the original post :

[JBoss-user] [JBoss/Spring Integration] - Re: Unable to hot-deploy EJB/Spring/Hibernate application in

2006-05-18 Thread alesj
This is not Spring/Hibernate used in JBossAS forum. Read what this forum is about: http://java.sys-con.com/read/180386.htm Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3944486#3944486 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: Unable to hot-deploy EJB/Spring/Hibernate application in

2006-05-18 Thread alesj
anonymous wrote : | I beleive that reading applicationContext.xml and placing it in the JNDI tree is not dependent on EJB 3.0 and can be done with EJB 2.1, correct? | Yep. You can easily use just the basic (non EJB3) JBoss/Spring integration stuff - reading your Spring XML file and

[JBoss-user] [JBoss/Spring Integration] - Re: Spring JDBC or Hibernate

2006-05-16 Thread alesj
Not the right forum to address this: http://java.sys-con.com/read/180386.htm Ok, a little help :-). You can either use this: http://trailblazer.demo.jboss.com/EJB3Trail/ Or do a plain simple Spring style web app - no EJBs, just their DAOs (HibernateSupportDAO, ...) and Spring's transaction

[JBoss-user] [JBoss/Spring Integration] - Re: Spring and the classLoader...

2006-05-15 Thread alesj
Isn't ApplicationContextAware an interface? If your bean implements this interface and is then a part of certain ApplicationContext and not plain Bean Factory, then it should normally get his ApplicationContext owner instance injected. View the original post :

[JBoss-user] [JBoss/Spring Integration] - Re: Spring and the classLoader...

2006-05-14 Thread alesj
Not the right forum to address this: http://java.sys-con.com/read/180386.htm This is what JBoss/Spring integration is about. Probably the rigth place would be Spring forum. btw: is that class present in classpath? btw2: NoClassDefException found or ClassCastException? btw3: give more info next

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Http Session Timeout does not work properly

2006-05-09 Thread alesj
When I test this on my local machine - WinXP - the sessions are destroyed as expected. But when running in production on Linux - some of them are never destroyed - as seen from my previous post. I looked at the catalina's StandardSession (or StandardManager) code and there is no such stuff

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - R e: JBoss 3.2.3 and Root Directory ¿?

2006-05-04 Thread alesj
What's the most likely Tomcat stuff in deploy directory in 3.2.3 version? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941215#3941215 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941215

[JBoss-user] [EJB 3.0] - Re: Dependency Injection of an Message Driven POJO into a SS

2006-05-04 Thread alesj
Did you try | @EJB(mappedName=services.ejb.ReplenishmentProcessor) | Since in my app, I still have to call my MDB the old way though jndi (with business interface class name). I'm using JBossAS 4.0.4.CR2. View the original post :

[JBoss-user] [EJB 3.0] - Re: EJB3 IIOP

2006-05-04 Thread alesj
Install JBossAS 4.0.4.CR2 thorugh Installer - with EJB3 module included. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941224#3941224 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941224

[JBoss-user] [EJB 3.0] - Re: Dependency Injection of an Message Driven POJO into a SS

2006-05-04 Thread alesj
alesj wrote : | I'm using JBossAS 4.0.4.CR2. | Installed through Installer with EJB3 configuration. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941225#3941225 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941225

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss with Tomcat.

2006-05-04 Thread alesj
Each component / technology uses JBoss Cache differently. Standalone cache, clustered, for each app its own cache root, ... For example: Hibernate can use its own 'embeddable' JB cache or JMX provided JB cache. Ok, is this turning out to be a JBoss Cache question (wrong forum then), or what

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Http Session Timeout does not work properly

2006-05-03 Thread alesj
Grrr, using JBossAS 4.0.4.CR2 also doesn't help. I still get a huge number of never expired sessions: | [7 reqs][last click 4159 min ago] | [1 reqs][last click 2864 min ago] | [7 reqs][last click 3128 min ago] | ... | anonymous wrote : | sessionMaxAliveTime ... 12821 ... Longest

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JBoss with Tomcat.

2006-05-03 Thread alesj
It depends on what do you want to do with JBoss Cache? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941035#3941035 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3941035

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to connect Tomcat with JBoss?

2006-05-03 Thread alesj
What exactly are you trying to do? It looks like you are missing tm library, which is strange if you use a clean JBossAS with Tomcat embedded. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941037#3941037 Reply to the post :

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: how to use tomcat

2006-05-03 Thread alesj
JBoss_Home/bin/run - to start AS Then simply drop your .war archive into JBoss_Home/server/default/deploy directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3941038#3941038 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: Hotdeployment and Parent Bean Factories

2006-04-30 Thread alesj
Hi! anonymous wrote : | As far as I understand so far, in such a case both SomeApp1 and SomeApp2 must be manually redeployed after ParentApp was bound to JNDI so that the changes of ParentApp apply to SomeApp1 and SomeApp2. | Currently this is not available, since I do not hold a bean

[JBoss-user] [EJB 3.0] - Re: Persistence.createEntityManagerFactory problem

2006-04-30 Thread alesj
Missing this? | providerorg.hibernate.ejb.HibernatePersistence/provider | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3940392#3940392 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940392

[JBoss-user] [EJB 3.0] - Re: Long transaction and transaction timeout

2006-04-30 Thread alesj
| @TransactionTimeout(value = 900) // 15min | public void initializeSearch() { | //... code | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3940393#3940393 Reply to the post :

[JBoss-user] [EJB 3.0] - Re: EJB3.0 Standalone client

2006-04-30 Thread alesj
Simple as coding to interfaces. | public class TestEJB { | | public static void main(String[] args) { | TestHelloBean thb = (TestHelloBean) findJndi(gema/TestHelloBeanImpl/remote); | if (thb != null) | System.out.println(thb = + thb.sayHello(Ales));

[JBoss-user] [JBoss/Spring Integration] - Re: JBoss Hibernate+Spring Application Deployment (JNDI Prob

2006-04-16 Thread alesj
What do you mean only war? How did you then deploy Hibernate? btw: this forum is about different Spring stuff -- ejb3 + Spring read here: http://java.sys-con.com/read/180386.htm Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3937603#3937603 Reply to

[JBoss-user] [JBoss/Spring Integration] - Re: Problems with latest versions of JBoss and Spring

2006-04-13 Thread alesj
First, thanks to Bill for being willing to put out a new release. :-) (Note: my reply to sbaker's email) The first issue is a result of changes to ejb3 lifecycle annotations package refactoring. I'm sending you my compatible version - with the latest ejb3 pfd5 and jbossas 4.0.4cr2. Current

[JBoss-user] [JBoss/Spring Integration] - Re: Embeddable Container and Spring?!

2006-04-04 Thread alesj
I haven't really looked how JBoss-Spring integrates with embedabble EJB3 container (ec). But I believe SpringInterceptors should have no problems. Non-interceptor injection is done with JBossAOP, so you should look how aop integrates with ec. anonymous wrote : Configuring the microcontainer

[JBoss-user] [JBoss/Spring Integration] - Re: close spring connection by JBoss

2006-03-29 Thread alesj
This isn't what this forum is about. This forum is about EJB3 + Spring in different way - injection and/or interception. About your stuff ... look at the Spring forum - I remember I saw a similar issue there once. View the original post :

[JBoss-user] [JBoss/Spring Integration] - Re: JBoss Hot Deployment Issue

2006-03-24 Thread alesj
What's the connection here between JBoss-Spring integration and your issue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3932340#3932340 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3932340

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Http Session Timeout does not work properly

2006-03-16 Thread alesj
I'm having the same problem with JBossAS 4.0.3RC1 (jdk5). I have a timeout set to 30min | session-config | session-timeout30/session-timeout | /session-config | But some of the sessions are still alive after more (way more) than 30min: A simpe stats page layout: |

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to use Tomcat 5.5.12 as web client and JBoss 4.0.3 E

2006-03-16 Thread alesj
Looks like you don't have a clue about it. That's all what EJB's are all about. For what to do if you don't need TC in JBossAS? Simply remove TC.sar directory/file from deploy. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930606#3930606 Reply to the post :

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to use Tomcat 5.5.12 as web client and JBoss 4.0.3 E

2006-03-16 Thread alesj
1. JBoss application server guide 2. EJB specification (2.1 or not yet final 3.0 (jsr220)) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930618#3930618 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930618

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to use Tomcat 5.5.12 as web client and JBoss 4.0.3 E

2006-03-16 Thread alesj
that connect from tomcat to jboss That's a simple JNDI lookup to remote app server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3930632#3930632 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3930632

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to use Tomcat 5.5.12 as web client and JBoss 4.0.3 E

2006-03-16 Thread alesj
What are you now: sony or soony. Start with simpler apps. Don't do remote stuff until you don't even master simple local stuff. Be a Swing man or a Servlet dude for a year. Or as we both told you, read, read and read. Don't ask such stupid / general questions. View the original post :

[JBoss-user] [JBoss/Spring Integration] - Re: spring deployment

2006-03-10 Thread alesj
Even if you fix this in MainDeployer-xmbean.xml, your .spring archive gets deployed before other stuff? Look at the server log if that is really the case. Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929291#3929291 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: spring deployment

2006-03-10 Thread alesj
Did you check in the log if .spring archive really is deployed before other stuff? I think that changing of the MainDeployer-xmbean.xml should definitely work. I had the sam issue with different archive and it worked for me. Maybe you can have you bean that's accessing EM lazy initialized.

[JBoss-user] [JBoss/Spring Integration] - Re: spring deployment

2006-03-10 Thread alesj
anonymous wrote : | I'm using Jboss4.0.4RC1 and i can't deploy the ejb3's before the .spring Archive. Maybe i can use the dependency tags? | Uf, funny. Can you post this at some other forum - 'Installation, Configuration Deployment', 'Management, JMX/JBoss' or 'Performance Tuning'.

[JBoss-user] [JBoss/Spring Integration] - Re: spring deployment

2006-03-09 Thread alesj
Look at the JBOSS_HOME\server\default\conf\xmdesc in org.jboss.deployment.MainDeployer-xmbean.xml. Add '.spring' with correct value and it should work. 550:.spring (for example) Rgds, Ales View the original post :

[JBoss-user] [JBoss/Spring Integration] - Re: spring deployment

2006-03-09 Thread alesj
Missing before: | descriptors | value value=250:.rar,300:-ds.xml,400:.jar,500:.war,650:.ear,800:.bsh,900:.last/ | /descriptors | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3929105#3929105 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: Modifying *.ds.xml in JBoss produces null ManagedConnect

2006-03-01 Thread alesj
Which jboss-service.xml file are we talkin' about? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927176#3927176 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927176

[JBoss-user] [JBoss/Spring Integration] - Re: Modifying *.ds.xml in JBoss produces null ManagedConnect

2006-03-01 Thread alesj
What has this xml got to do with JBoss/Spring integration? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3927244#3927244 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927244

[JBoss-user] [JBoss/Spring Integration] - Re: TransactionManager and UserTransaction

2006-02-12 Thread alesj
It's in jboss-j2ee.jar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3923146#3923146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3923146 --- This SF.net email is

[JBoss-user] [JBoss/Spring Integration] - Re: Missing BeanFactoryLoader

2006-02-01 Thread alesj
Just tried it now - on JBoss4.0.3SP1 without EJB3 support. It works normally. No idea why it doesn't find NamedXmlApplicationContext. I'm using: Spring-Version: 1.3-rc1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920888#3920888 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: Missing BeanFactoryLoader

2006-02-01 Thread alesj
Have you tried with JBoss 4.0.3SP1? Changing Spring to 1.3 ... or 2.0m? Debuging? Some old deployer lib stuck somewhere? btw: great wiki contribution View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3921124#3921124 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: Creating a JMS Queue using Jboss

2006-01-31 Thread alesj
Uf ... did you like totally miss the forum? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920624#3920624 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920624 --- This

[JBoss-user] [JBoss/Spring Integration] - Re: Missing BeanFactoryLoader

2006-01-30 Thread alesj
Try this new version: - http://www.genera-lynx.com/temp/jboss-spring.jar Or full JDK5 / EJB3 support: - http://www.genera-lynx.com/temp/jboss-spring-jdk5.jar You also need updated version of jboss-service.xml - http://www.genera-lynx.com/temp/jboss-service.xml This is put up temporarly.

[JBoss-user] [JBoss/Spring Integration] - Re: JBoss/Spring development

2006-01-29 Thread alesj
Sure, you can use it without EJB3. You can use it with JBoss AOP. Or standalone - it simply adds your bean factory to the JNDI. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920255#3920255 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: clarification of use

2006-01-27 Thread alesj
Yep, this is a problem with current version of deployer. You cannot get the bean from bean factory unless explicity injecting it in EJB enterprise bean. The reason for this is that the actual bean factory is really just a bean factory implementation and NOT an application context (which is

[JBoss-user] [JBoss/Spring Integration] - Re: clarification of use

2006-01-27 Thread alesj
Aha, missed this one -- spring 1.2.6. That's even better. I thought you were using version from when deployer was first introduced. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919977#3919977 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: Modifying *.ds.xml in JBoss produces null ManagedConnect

2006-01-27 Thread alesj
Yep, just like I thought. See my second post: Is the JOFB caching it? Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3920010#3920010 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3920010

[JBoss-user] [JBoss/Spring Integration] - Re: FactoryBean Interface is not recognized

2006-01-26 Thread alesj
Where exactly do you have your Spring library? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919850#3919850 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919850 ---

[JBoss-user] [JBoss/Spring Integration] - Re: Modifying *.ds.xml in JBoss produces null ManagedConnect

2006-01-25 Thread alesj
How exactly do you use JndiObjectFactoryBean in this case? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919627#3919627 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919627

[JBoss-user] [JBoss/Spring Integration] - Re: Modifying *.ds.xml in JBoss produces null ManagedConnect

2006-01-25 Thread alesj
Hmm .. I believe something similar happened to me also. Couldn't quite figure it out why this is happening. But I must say I didn't look too hard. But this is more of JBoss.com - JBoss User - JCA/JBoss topic. One would think that when pulling out object from JNDI should have dealt with this.

[JBoss-user] [JBoss/Spring Integration] - Re: Modifying *.ds.xml in JBoss produces null ManagedConnect

2006-01-25 Thread alesj
I don't think Spring is an issue here. You could do that with plain JNDI stuff. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3919672#3919672 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3919672

[JBoss-user] [JBoss/Spring Integration] - Re: wiring EJB

2006-01-19 Thread alesj
Wrong forum. JBoss/Spring integration is about injecting Spring POJO beans into EJB3 enterprise beans. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3918320#3918320 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918320

[JBoss-user] [JBoss/Spring Integration] - Re: Sample App Deployment Problems...

2006-01-12 Thread alesj
It looks like you are missing Spring's web classes. | Since our code is dependant on Spring library, we must make sure that all of the needed classes are in our classpath. Copy spring-aop.jar, spring-context.jar, spring-web.jar and spring-webmvc.jar into JBOSS_HOME/server/default/lib

[JBoss-user] [JBoss/Spring Integration] - Re: Sample App Deployment Problems...

2006-01-12 Thread alesj
Is it a classpath issue? Can be a class loading issue. Check that you don't have Spring's classes also in your web archive. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917178#3917178 Reply to the post :

[JBoss-user] [JBoss/Spring Integration] - Re: Sample App Deployment Problems...

2006-01-12 Thread alesj
Yep, I think they changed it. At the time of writing this example I think I used 1.2.3, but I'm not sure. I already have a new version of spring.deployer - and it uses Spring 1.2.5 which has already changed loadBeanDefinitions method. I can send it to you by email. View the original post :

[JBoss-user] [JBoss/Spring Integration] - Re: Sample App Deployment Problems...

2006-01-12 Thread alesj
Is it working with the new Spring deployer version? I hope Bill or Mike will put the new one up (to download site) soon. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3917199#3917199 Reply to the post :

[JBoss-user] [Clustering/JBoss] - jgroups deployment issue

2006-01-10 Thread alesj
I'm getting this Deployment ERROR: | 11:37:41,250 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- Packages waiting for a deployer --- | [EMAIL PROTECTED] {

  1   2   >