[jboss-user] [EJB 3.0] - Re: EJB with SSL does not work with JBoss AS 4.2.2
TJ, Personally, i haven't tried EJB with SSL on 4.2.2 (for that matter, on any versions of JBoss). So i don't have much experience on this. But based on the exception stacktrace (and based on another discussion that i saw in the forums) i guess, you could try changing the following two configurations: In your SSL-service.xml: | attribute name=serverBindAddress${jboss.bind.address}/attribute Change this to use the IP address of the server. Something like: attribute name=serverBindAddress10.10.10.10/attribute In jboss.xml anonymous wrote : client-bind-urlsslsocket://0.0.0.0:3843/client-bind-url Change it to use the IP: client-bind-urlsslsocket://10.10.10.10:3843/client-bind-url And finally, if you are starting JBoss, using -b 0.0.0.0 then change it to use the IP address -b 10.10.10.10 P.S: As i already mentioned, i don't have much experience on this. These suggestions are based on what i saw in some other posts. So they may or may not work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146398#4146398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: how to replicate seesion
Even i am facing the same problem, Can somebody put some light to it Any help will appreciated!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146399#4146399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jboss 4.0.2 rc1 download
why? It's been long replaced by other versions. At the very least get the production release of 4.0.2, but better get either 4.0.5 or 4.2.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146400#4146400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Problem deploying EJB
anonymous wrote : java.lang.NoClassDefFoundError: com/test/ejb/IAppointmentBean A NoClassDefFoundError also means that maybe the class(es) referenced by IAppointmentBean (maybe through import statements or some other means) are not available in the classpath of the server. Are you sure that all required classes/jars are packaged as part of the application? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146402#4146402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem with Quartz Scheduler Integration (JBoss AS 4.2.
Thanks. Will try again with an Ant build and an absolutely fresh install of JBoss 4.2. I've tried building and deploying using both Eclipse and Maven 2 so I'm not sure it's entirely build related. Will also try it on Windows XP to rule out anything platform related (am running on JDK 1.5.0_13-b05-241 on OS X 10.4 if that makes any difference). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146408#4146408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Unable to run multiple cluster nodes.
Hi, Thank you for your document. As I have mentioned I want to cluster nodes belonging to two different machines each of which have different jboss servers running seperately on different ports. For this, I have copied the Jboss home directory and named seperately as Jboss1, Jboss2, Jboss3,.. I have also changed different port numbers where necessary, like bind address. Now, I have used the httpd 2.0.63 apache load balancer for clustering all these nodes. Initially, all the nodes seeming working well. But, when one node drops, I found the browser displaying the Session expiry. sometimes, I am even experiencing Service unavailable 503 error with load balancer. This is my workers.properties file I have attached. (Please check the AJP 1.3 Connector port values too.) # Define list of workers that will be used # for mapping requests # The configuration directives are valid # for the mod_jk version 1.2.18 and later # worker.list=loadbalancer,status # Define Node1 # modify the host as your host IP or DNS name. worker.node1.port=18009 worker.node1.host=10.20.220.3 worker.node1.type=ajp13 worker.node1.lbfactor=1 # worker.node1.connection_pool_size=10 (1) # Define Node2 # modify the host as your host IP or DNS name. worker.node2.port=28009 worker.node2.host= 10.20.220.3 worker.node2.type=ajp13 worker.node2.lbfactor=1 # worker.node2.connection_pool_size=10 (1) # Define Node3 # modify the host as your host IP or DNS name. worker.node3.port=38009 worker.node3.host=10.20.220.3 worker.node3.type=ajp13 worker.node3.lbfactor=1 # worker.node3.connection_pool_size=10 (1) # Define Node4 # modify the host as your host IP or DNS name. worker.node4.port=48009 worker.node4.host=10.20.220.3 worker.node4.type=ajp13 worker.node4.lbfactor=1 # worker.node4.connection_pool_size=10 (1) # Define Node5 # modify the host as your host IP or DNS name. worker.node5.port=58009 worker.node5.host=10.20.220.15 worker.node5.type=ajp13 worker.node5.lbfactor=1 # worker.node5.connection_pool_size=10 (1) # Define Node6 # modify the host as your host IP or DNS name. worker.node6.port=68009 worker.node6.host=10.20.220.15 worker.node6.type=ajp13 worker.node6.lbfactor=1 # worker.node6.connection_pool_size=10 (1) # Load-balancing behaviour worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=node1,node2,node3,node4,node5,node6 worker.loadbalancer.sticky_session=1 #worker.list=loadbalancer # Status worker for managing load balancer worker.status.type=status My uriworkermap.properties file. # Simple worker configuration file # # Mount the Servlet context to the ajp13 worker /casper-2.1=loadbalancer /casper-2.1**/*=loadbalancer /web-console=loadbalancer /web-console/*=loadbalancer These are my issues after reading the document you have sent. (http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Clustering_Guide/beta422/pdf/Clustering_Guide.pdf) 1. Under the Http Session clustering, the 7th sub topic, Enabling session replication in your application, you have asked to configure session replication using the replication-config element in the jboss-web.xml. But, I found 6 different files with that name under all configuration. Please let me know where I need to add this attribute. Thank you. Praveena Chalamcharla, Securview. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146410#4146410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: attach()detach() can transaction, but find() can not?
Greet!Thank you very much jason!i've got the correct i wanted! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146409#4146409 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
anonymous wrote : Deploy as is default set to WAR. Leave it there This issue is about EAR deployment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146411#4146411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem with Quartz Scheduler Integration (JBoss AS 4.2.
Can you please post your code? Also, the logs from server.log file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146413#4146413 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Can custom APIs be bound in the RMI Registry started by
Team The side tree says, now 20649 guests, 37 members are online. Can anyone from JBoss team please acknowledge this? I hope that OEMs using JBoss to deploy their product also other enterprise users will definitely have a confidence when you answer this or suggest a workaround. Please answer this. Regards Venkatramanan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146415#4146415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to intercept EJBs residing in another jar-file?
raoul.schmidiger wrote : | This works fine for all EJBs that are in the same jar like the ejb-jar.xml file (app1.jar). However, any method call to an EJB in mylib.jar is not intercepted at all. | What do I have to change in order the have also the method calls with the EJBs in the mylib.jar file intercepted? An extensive search on google and in the jBoss forum did not reveal any solution for my problem. Either nobody has ever tried to do this, or I am just missing something! | An ejb-jar.xml represents on single ejb deployment unit. So, in your case, you will have to create another ejb-jar.xml file with similar contents for mylib.jar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146420#4146420 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: is it possible to force the token jump from one node to
Hello syedtaj, I'm affraid your proposed piece of code does not do the job for me. Where with my piece of code, the jump to the new node exactly happens when the exception handler catches the exception, with your piece of code the jump happens after other nodes have been executed, which is not the desired effect. Cheers, Pieter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146421#4146421 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unable to pre-compile JSP using ANT task with JBoss 4.2.
I think that should be a problem of classpth I not see in your classpath the jar for parser the xml example xerces View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146422#4146422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unable to pre-compile JSP using ANT task with JBoss 4.2.
try adding in your classpath the following jar xercesImpl.jar xalan.jar serializer.jar you can find in this path jboss-lib/endorsed View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146424#4146424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - IdentityLoginModule not found
hi, I'm a jboss portal noob and i want to write my own custom loginmodule extending UsernamePasswordModule. i read the nm-156 thread, and by extending the AbstractLoginModule class, he still need to use the portal IdentityLoginModule in login-config.xml. i'm thinking that it's caused by some missing actions done by the IdentityLoginModule. My current problem is that i can't find any LoginModule class in portal src. I downloaded the 2.6.4 GA version. additionally, I'm struggling to find the jar containing UsernamePasswordLoginModule i may look stupid but any help would be very nice :) regards, -- Lucas Montes View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146426#4146426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - problem in reloading the exploded war file
Hi guys i am not able to reload the war after changing time stamp of WEB-INF/web.xml file.here i am using a exploded war file(axis3.war) kept in a user defined loaction,which has been specified in the jboss-service.xml as | attribute name=URLs | deploy/, file:/dev/eclipse/workspace/axis | /attribute | and i have got an ANT script to change the time stamp of the WEB-INF/web.xml | ?xml version=1.0 encoding=UTF-8? | project name=Packaging Generator default=build | | target name=build description=axis3.war | touch file=axis3.war/WEB-INF/web.xml/ | /target | /project | i have configured this based on the details which i got it from. http://wiki.jboss.org/wiki/DeployTipsAndBuildSampleScripts please help me to do the hot deployment... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146427#4146427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cann
I got the same error log message. Could anyone help me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146428#4146428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - EntityManager remove does not remove?
In my application I need to persist data of plan modeled in memory to database. First data of previous instance of plan is deleted and then inserted the new one (I do not want to perform update for some reason). But if I perform checking before persisting new data, method findAll returns also data that has been just deleted by the same instance of EntityManager. I am not able to successfully call method PlannerFacadeEJB.savePlanVersion :-( OS: MS Windows XP JAVA: 1.6 JBoss 4.2.2.GA (the same behaviour on 4.0.5) Situation: | @Entity(name = DBPlanVersion) | @Table(name = PLAN_VERSION) | @NamedQueries({ | @NamedQuery(name = DBPlanVersion.findAll, query = SELECT a FROM DBPlanVersion a), | @NamedQuery(name = DBPlanVersion.findByPlanId, query = SELECT a FROM DBPlanVersion a WHERE a.planId = :planId) | }) | public static DBPlanVersion implements Serializable { | public static final String findAll = DBPlanVersion.findAll; | public static final String findByPlanId = DBPlanVersion.findByPlanId; | | private int planVersionId; | private int planId; | private String description; | | public DBPlanVersion() { | } | | | @Id | @Column(name = PLAN_VERSION_ID, nullable = false, length = 10) | @SequenceGenerator(name = PLAN_VERSION_SEQ, sequenceName = PLAN_VERSION_SEQ, allocationSize = 1) | @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = PLAN_VERSION_SEQ) | public int getPlanVersionId() { | return planVersionId; | } | | public void setPlanVersionId(int planVersionId) { | this.planVersionId = planVersionId; | } | | @Basic | @Column(name = PLAN_ID, nullable = false, length = 10) | public int getPlanId() { | return planId; | } | | public void setPlanId(int planId) { | this.planId = planId; | } | | @Basic | @Column(name = DESCRIPTION, nullable = true, length = 50) | public String getDescription() { | return description; | } | | public void setDescription(String description) { | this.description = description; | } | | public boolean equals(Object o) { | if (this == o) return true; | if (o == null || getClass() != o.getClass()) return false; | | DBPlanVersion that = (DBPlanVersion) o; | | if (planVersionId != that.planVersionId) return false; | | return true; | } | } | | | @Stateless(name = PlannerFacadeEJB) | @Remote(PlannerFacade3.class) | @Local(PlannerFacade3.class) | public class PlannerFacadeBean implements PlannerFacade3 { | | @PersistenceContext(unitName = xxx) | EntityManager em; | | public void savePlanVersion(int planId, String description) { | em.setFlushMode(FlushModeType.COMMIT); | planVersionFacade3.deleteByPlanId(planId); | planVersionFacade3.addPlanVersion(planId, description); | } | } | | @Stateless(name = PlanVersionFacadeEJB) | @Local(PlanVersionFacadeLocal) | public class PlanVersionFacadeBean implements PlanVersionFacadeLocal { | | @PersistenceContext(unitName = xxx); | EntityManager em; | | public void deleteByPlanId(int planId) { | // Lets find DBPlanVersion with specified planId | DBPlanVersion dbPlanVersion = findByPlanId(planId); | | if (dbPlanVersion != null) { | log.info(Delete: planId= + dbPlanVersion.getPlanId() + , planVersionId= + dbPlanVersion.getPlanVersionId()); | | // ... delete children records in another entity, code omitted | | // Delete plan versionId itself | em.remove(planVersion3); | } | log.info(DeleteByPlanId: Instance of EntityManager is + em); | } | | public DBPlanVersion findByPlanId(int planId) { | Query q = em.createNamedQuery(DBPlanVersion.findByPlanId); | q.setParameter(planId, planId); | try { | return (DBPlanVersion) q.getSingleResult(); | } catch (NoResultException e) { | return null; | } | } | | public CollectionDBPlanVersion findAll() { | return em.createNamedQuery(DBPlanVersion.findAll).getResultList(); | } | | public DBPlanVersion addPlanVersion(int planId, String description) { | DBPlanVersion newDBPlanVersion = new DBPlanVersion(); | newDBPlanVersion.setPlanId(planId); | newDBPlanVersion.setDescription(description); | // Lets check whether plan version with the same plan id already exists | for (DBPlanVersion pv : findAll()) { | if ((pv.getPlanId() == newDBPlanVersion.getPlanId()) (!pv.equals(newDBPlanVersion))) { | throw new
[jboss-user] [EJB/JBoss] - Urgent Help Regarding Stateless Session Bean
I am using EJB3 in JBoss 4.2.2. My standard-jboss.xml has the following standard configuration container-pool-conf 100 /container-pool-conf for container-nameStandard Stateless SessionBean/container-name. I have as many as 7 Stateless Session Bean in my ear, one (Ex: SLSB-AA) of which is called remotely and others are called locally. I am calling the SLSB-AA as many as 70 times per second and there are local calls between SLSBs. My code outside JBoss which calls the SDSB-A run perfectly for 700 to 800 calls. After when I get the exception Problem establishing socket connection for InvokerLocator [socket://xx.xx.xxx.xxx:3873/] org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://10.11.145.156:3873/] at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:532) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) at org.jboss.remoting.Client.invoke(Client.java:1634) at org.jboss.remoting.Client.invoke(Client.java:548) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) ... ... Caused by: java.net.SocketException: Can not obtain client socket connection from pool. Have waited 30015 milliseconds for available connection (51in use) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:862) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) at org.jboss.remoting.Client.invoke(Client.java:1634) at org.jboss.remoting.Client.invoke(Client.java:548) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) I increased the pool size container-pool-conf 1000 /container-pool-conf even then I get this exception after calling my SLSB-A for 1200-1300 times. Any help is greatly appreciated Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146433#4146433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: how to replicate seesion
Hi, I could cluster the servers. But, getting session expiration message May I know which version of Jboss is being used? If it is 4.2.2.GA version, let me know where you have configured session replication using the replication-config element in the jboss-web.xml(I mean which jboss-web.xml in the all configuration mode). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146434#4146434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IdentityLoginModule not found
ok, it seems that i don't need that code (but i would still appreciate to know where it is). I've read this post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090281#4090281 where nm-156 found the way to supress the need for IdentityLoginModule provided by portal. I should be able to do everything without looking at the portal IdentityLoginModule code :) Regards, -- Lucas Montes View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146435#4146435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Calling EJB 3 Session Bean from EJB 2 Session Bean???
I haven't tried this, but you should be able to add EJB 2.1 client home with the @RemoteHome annotation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146436#4146436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - updated jndi name can't refer to the hot deployed codes
let me describe my situation with some simplification: (jboss4.2.0.GA, ejb3) 1 ear (A.ear) with 1 session bean (ProductManagerBean) is deployed jndi name = A.ear/ProductManagerBean 1 tomcat (tomcat 6.0.13) acts as a client and use the session bean remotely now i updated the session bean code and hot-deployed to the jboss with the jndi name and ear name changed: e.g. A-1.ear jndi name is changed to A-1.ear/ProductManagerBean i can check that the deployment of the A-1.ear has no problem and it can shows correctly at the jmx console and also the jndi tree and i go to shutdown the tomcat to deploy the updated client (to use A-1.ear and new jndi name) and start the app again now the client app is still pointing to the old bean (this is verified by: i remove the A.ear from the jboss, it is supposed that will not affect the updated tomcat client, but it shows error like A.ear unbounded, so the tomcat client is pointing to the old ear but if i restart the jboss and tomcat again, no problem, i.e. it is pointing to the updated A-1.ear and ProductServiceBean one more observation that may help: when 2 ear is deployed and i view the jndi tree the productservicebean appears below at 2 different roots (A.ear/A-1.ear), but the proxy name is the same, i.e. something like proxy1234 ) simply speaking, i want to deploy multiple versions of my application to the jboss and let different clients to reference to different versions at the same time i guess this is conflicted at the same class name of the ejb? any hint to solve my problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146438#4146438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - updated jndi name can't refer to the hot deployed codes
let me describe my situation with some simplification: (jboss4.2.0.GA, ejb3) 1 ear (A.ear) with 1 session bean (ProductManagerBean) is deployed jndi name = A.ear/ProductManagerBean 1 tomcat (tomcat 6.0.13) acts as a client and use the session bean remotely now i updated the session bean code and hot-deployed to the jboss with the jndi name and ear name changed: e.g. A-1.ear jndi name is changed to A-1.ear/ProductManagerBean i can check that the deployment of the A-1.ear has no problem and it can shows correctly at the jmx console and also the jndi tree and i go to shutdown the tomcat to deploy the updated client (to use A-1.ear and new jndi name) and start the app again now the client app is still pointing to the old bean (this is verified by: i remove the A.ear from the jboss, it is supposed that will not affect the updated tomcat client, but it shows error like A.ear unbounded, so the tomcat client is pointing to the old ear but if i restart the jboss and tomcat again, no problem, i.e. it is pointing to the updated A-1.ear and ProductServiceBean one more observation that may help: when 2 ear is deployed and i view the jndi tree the productservicebean appears below at 2 different roots (A.ear/A-1.ear), but the proxy name is the same, i.e. something like proxy1234 ) simply speaking, i want to deploy multiple versions of my application to the jboss and let different clients to reference to different versions at the same time i guess this is conflicted at the same class name of the ejb? any hint to solve my problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146437#4146437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: org.jboss.deployment.DeploymentException: url file:/C:/j
hello i installed jboss 4.0.3sp1 using eclipse when i deployed my war into jboss it encounters an error which i cannot rectify Please help me see this my error Failed to boot JBoss: org.jboss.deployment.DeploymentException: Could not initialise deployment: file:/D:/jboss-4.0.3SP1/server/default/conf/jboss-service.xml; - nested throwable: (java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:39) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:785) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330) at org.jboss.Main.boot(Main.java:187) at org.jboss.Main$1.run(Main.java:438) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap at org.jboss.util.xml.JBossEntityResolver.(JBossEntityResolver.java:43) at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:585) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:164) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780) ... 21 more View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146441#4146441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JOBSS Messaging POC
Thanks for reply jiffy. Now I am able to execute queue example in local system, My big issue is how can i run listener in remote system, so that if I send a message from my local system remote listener (some another system) must listen to that messages. Can you please tell me what are the xml files I need to change? ( Here I am confusing.) For jar files I will fallow 4.4 section of user guide. 4.4. Accessing JBoss Messaging from a remote client - SS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146444#4146444 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how to call native library
I am not having jboss-native. I have set my LD_LIBRARY_PATH.Still its not working.Please tell me what shud i do. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146449#4146449 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Web pages are not running on mozilla
HII This is my html page | SCRIPT language=JavaScript | | | | /SCRIPT | | html | | | | head | | TITLEMANTR/TITLE | | /head | | frameset rows=130px,67%,12px noresize framespacing=0 border=5 frameborder=0 | | frame name=top scrolling=no target=middle border=5 noresize src=Heading.html marginwidth=0 marginheight=0 noresize | | frame name=middle target=bottom noresize src=middle.html border=5 marginwidth=0 marginheight=0 scrolling=auto noresize | | frame name=bottom noresize src=Footer.html target=_self scrolling=no border=5 marginwidth=0 marginheight=0 noresize | |noframes | | body topmargin=0 leftmargin=0 bgcolor=#E2EDFE | | pThis page uses frames, but your browser doesn't support them./p | | /body | | /noframes | | /frameset | | | | /html | this is my middle.html | | | | | HTML | | HEAD | | | | TITLEEILMT | | /TITLE | | | | | | | | /HEAD | | | | | | BODY bgcolor=#FEFCE2 | | form name=Input_Form1 method=post | | | | | | CENTER | | TABLE BORDER=0 WIDTH=100% Height=100% | | | | TR | | | | TD | | | | CENTER | | TABLE BORDER= 0 WIDTH= 480 HEIGHT=80% bordercolor=#80 | | TRTD width=470 | | CENTERTABLE BORDER= 0 WIDTH= 50%HEIGHT=40% | | | | TR | | TD strongLoginName/strong/TD | | TD CENTERinput type=text Id=userid name=userid maxlength=20 value= size=16 onKeypress=if (event.keyCode==13)event.returnValue =Submit(); tabindex=1 /CENTER/TD | | /TR | | TR | | TDstrongPassword/strong/TD | | TDCENTERinput type=Password Id=password name=password size=16 maxlength=20 value= tabindex=2 onKeypress=if (event.keyCode==13)event.returnValue =Submit();/CENTER/TD | | /TR | | tr | | td width=28%strong Language /strong /td | | td width=38% | | select name=Lang | | option value=Hindi selected Hindi | | option value=Bengali Bengali | | option value=Marathi Marathi | | option value=OriyaOriya | | option value=Tamil Tamil | | option value=UrduUrdu | | /select/td | | /tr | | tr | | td width=500%strongDomain /strong /td | | td width=560% | | select name=Domain | | option value=General selectedGeneral | | option value=TourismTourism | | option value=Health Health | | /select/td | | /tr | | /TABLE/CENTER | | | | CENTERTABLE BORDER= 0 WIDTH= 60% | | TRTD/TD/TR | | TRTD/TD/TR | | TRTD/TD/TR | | | | TR | | TDCENTERINPUT TYPE=submit style=background-color:#efeff7 VALUE=OK NAME=Submit_Button OnClick=return Submit();/CENTER/TD | | TDCENTERINPUT TYPE=button style=background-color: #efeff7 VALUE=CANCEL NAME=cancel OnClick=return login();/CENTER/TD | | /TR | | /TABLE/CENTER | | | | CENTERTABLE BORDER= 0 WIDTH= 63% | | TRTD/TD/TR | | TRTD/TD/TR | | TRTD/TD/TR | | TRTD/TD/TR | | | | | | TR | | | | TDCENTERA HREF=NewUser.jspstrong NewUser/strong/A/CENTER/TD | | | | | | TDCENTER!--A HREF=forgotpassword.htmlstrongForgot Password/strong/A --/CENTER/TD | | /TR | | /TABLE/CENTER | | | | | | /TD | | /TR | | /TABLE/CENTER | | /form | | | | /center | | p align=rightfont color=#08088A h1 align=rightEnglish to Indian | | Languages Machine Translation Systemh1/font | | | | /BODY | | | | script language=JavaScript | | function login() | | { | | var str1 = document.Input_Form1.userid.value | | var str2= document.Input_Form1.password.value | |document.Input_Form1.userid.value=; | | document.Input_Form1.password.value=; | | } | | function Submit() | | { | | | | var str1 = document.Input_Form1.userid.value | | var str2= document.Input_Form1.password.value | | | | if(str1 == ) | | { | | alert (Login Name should not be blank) | | document.Input_Form1.userid.focus() | | return false | | } | | if (str2==) | | { | | alert (Password should not be blank) |
[jboss-user] [JBoss Messaging] - Re: JOBSS Messaging POC
ssjboss wrote : | Thanks for reply jiffy. | | Now I am able to execute queue example in local system, | | My big issue is how can i run listener in remote system, so that if I send a message from my local system remote listener (some another system) must listen to that messages. | On the client-side, you have to adapt jndi.properties so that the java.naming.provider.url property corresponds to the url of your server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146448#4146448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - XPDL support in JBPM
Hi I looked around but cannot find any information about this except an article dated in 2006. I would like to know if there are any plans to support XPDL in JBoss, and if so what would be a rough timeline for this support? Regards, Karim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146453#4146453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: problem in reloading the exploded war file
From what i remember, hot deployment is not possible for applications deployed through user defined folder. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146452#4146452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Call jbpm process from Jsp
Hi, I have one running jpbm process on the sever. I want to call that process from web application like jsp or wicket. Mean to say that how can I configure jbpm with jsp? Please sugget me in this context, if any one has developed this type of application. Thanks in advance. Binod Suman View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146458#4146458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Binding custom Exception field fails
Hi there, I'm trying to make a simple hallo World with a parameter and a custom exception that has its own field. Without the extra field in the exception it works fine. Server start up fine but when I call my webservice with the field naam filled in with kaboom (with this value the exception is thrown) this is what I get: | 08:48:41,921 ERROR [RequestHandlerImpl] Error processing web service request | | org.jboss.ws.WSException: org.jboss.xb.binding.JBossXBRuntimeException: Failed to find read method or field for property 'typeFout' in class nl.havermans.rhcp.boodschappen.webservice.EWebserviceException | | at org.jboss.ws.WSException.rethrow(WSException.java:68) | | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310) | | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189) | | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122) | | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84) | | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | | The problem is that the property really is in the class nl.havermans.rhcp.boodschappen.webservice.EWebserviceException, I even tried to make the field itself public but it does not help. Does anyone know why this is happening? Can anyone have a look at this? | /** | * | */ | package nl.havermans.rhcp.boodschappen.webservice; | | import java.rmi.RemoteException; | | /** | * @author RHCP | * | */ | public interface IHalloWereldService extends java.rmi.Remote { | public String zegMijHallo(String naam) throws EWebserviceException, RemoteException; | } | | /** | * | */ | package nl.havermans.rhcp.boodschappen.webservice; | | import java.rmi.RemoteException; | | import org.apache.log4j.Logger; | | /** | * @author RHCP | * | */ | public class HalloWereldService implements IHalloWereldService { | Logger _log = Logger.getLogger(HalloWereldService.class); | | /** | * @throws EWebserviceException | * @see nl.havermans.rhcp.boodschappen.webservice.IHalloWereldService#zegMijHallo(java.lang.String) | */ | public String zegMijHallo(String naam) throws RemoteException, EWebserviceException { | _log.info(Start zegMijHallo: + naam); | String antwoord = Welkom bij mijn webservice; | if (naam != null) { | if (naam.equals(kaboom)) { | throw new EWebserviceException(Exceptie test, functioneel); | } | antwoord = antwoord + : + naam; | } | | _log.info(Einde zegMijHallo); | return antwoord; | } | } | | /** | * | */ | package nl.havermans.rhcp.boodschappen.webservice; | | /** | * @author RHCP | * | */ | public class EWebserviceException extends Exception { | /** | * | */ | private static final long serialVersionUID = -4539401858795964596L; | public String typeFout = onbekend; | | /** | * | */ | public EWebserviceException() { | super(); | } | | /** | * @param p_message | * @param p_cause | */ | public EWebserviceException(String p_message, Throwable p_cause) { | super(p_message, p_cause); | } | | /** | * @param p_message | */ | public EWebserviceException(String p_message) { | super(p_message); | } | | /** | * @param p_message boodschap | * @param p_typeFout type fout | */ | public EWebserviceException(String message, String typeFout) { | super(message); | this.typeFout = typeFout; | } | | | /** | * @param p_cause | */ | public EWebserviceException(Throwable p_cause) { | super(p_cause); | } | | /** | * @return the typeFout | */ | public String getTypeFout() { | return typeFout; | } | | /** | * @param p_typeFout the typeFout to set | */ | public void setTypeFout(String typeFout) { | this.typeFout = typeFout; | } | | } | | ?xml version=1.0 encoding=UTF-8? | definitions | name=HalloWereldWS | targetNamespace=http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService; | xmlns:hllwrld=http://webservice.boodschappen.rhcp.havermans.nl/HalloWereldService; | xmlns:soapbind=http://schemas.xmlsoap.org/wsdl/soap/; | xmlns:xsd=http://www.w3.org/2001/XMLSchema; | xmlns=http://schemas.xmlsoap.org/wsdl/; | |
[jboss-user] [JNDI/Naming/Network] - Accessing Applet behind NAT firewall [EJB application]
Hi Everyone, I need to know the details of using applet based application in JBOSS - the clients are connecting from NAT enviornments. I have implementd RMI over HTTP protocol for EJB communication. But the Client Connect address configuration which is used in Nat'ed IP scenario is to be done at startup. Even the configuration in HTTP-invoker.sar file where we can form the URL has to be done at the start up; if I provide the NAT IP which client uses here then it binds the domain to that particular client only. And the same domain can not be used by any other client as they might NAT to diffrent IP. I need a solution which will allow me to form the URL's from the client end using NAT IP at the runtime; if this can be done the same JBOSS instance can be used by all clients - thos who NAT and those who do not NAT as well. Please suggest a way out if you have come across similar issue where you need to support many clients out of the same domain and some of them NAT the IP's on client side. Any help on this will be very much appreciated !! Thank you Sandeep The JBOSS remoting document says that the ClientConnectAddress can not be changed at the runtime. 5.4.2. Configurations affecting the invoker client There are some configurations which will impact the invoker client. These will be communicated to the client invoker via parameters in the Locator URI. These configurations can not be changed during runtime, so can only be set up upon initial configuration of the server invoker on the server side. The following is a list of these and their effects. clientConnectPort - the port the client will use to connect to the remoting server. This would be needed in the case that the client will be going through a router that forwards requests made externally to a different port internally. clientConnectAddress - the ip or hostname the client will use to connect to the remoting server. This would be needed in the case that the client will be going through a router that forwards requests made externally to a different ip or host internally. If no client connect address or server bind address specified, will use the local host's address (via InetAddress. getLocalHost().getHostAddress() ). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146463#4146463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - WS client returns null, why?
Hi all, I am facing a problem when getting the response from a ws invocation. As far as I see through org.jboss.ws.core.MessageTrace logger, the ws server returns a valid response. I don't know why, this response turns to a null one in my client. Here are the log traces: | 2008-04-24 12:33:18,838 TRACE [org.jboss.ws.core.MessageTrace] Incoming Request Message | soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | soapenv:Header | ns1:Security ns1:Password='app:1272268494445808129' ns1:UserName='domain_user' soapenv:actor='wsse:PasswordToken' soapenv:mustUnderstand='1' xmlns:ns1='http://172.22.191.143:8080/parlayx2/services/TerminalLocation' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xsi:type='soapenc:string'/ | /soapenv:Header | soapenv:Body | getLocation xmlns='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local' |addresstel:34609214237/address |requestedAccuracy2000/requestedAccuracy |acceptableAccuracy4000/acceptableAccuracy |maximumAge | metric xmlns=''Hour/metric | units xmlns=''1/units |/maximumAge |responseTime xmlns='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local' | metric xmlns=''Minute/metric | units xmlns=''1/units |/responseTime |tolerance xmlns='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local'DelayTolerant/tolerance | /getLocation | /soapenv:Body | /soapenv:Envelope | 2008-04-24 12:33:18,947 WARN [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot get port meta data for: {http://www.csapi.org/wsdl/parlayx/terminal_location/v2_2/service}TerminalLocation | 2008-04-24 12:33:19,229 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Request Message | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' | env:Header/ | env:Body | ns2:getLocation xmlns:ns2='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local' |ns2:address609214237/ns2:address |ns2:requestedAccuracy2000/ns2:requestedAccuracy |ns2:acceptableAccuracy4000/ns2:acceptableAccuracy |ns2:maximumAge | metricHour/metric | units1/units |/ns2:maximumAge |ns2:responseTime | metricMinute/metric | units1/units |/ns2:responseTime |ns2:toleranceDelayTolerant/ns2:tolerance | /ns2:getLocation | /env:Body | /env:Envelope | 2008-04-24 12:33:19,229 TRACE [org.jboss.ws.core.MessageTrace] Incoming Response Message | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' | env:Header/ | env:Body | ns2:getLocationResponse xmlns:ns2='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local' |return | latitude0.1/latitude | longitude0.1/longitude | accuracy3/accuracy |/return | /ns2:getLocationResponse | /env:Body | /env:Envelope | 2008-04-24 12:33:19,275 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' | env:Header/ | env:Body | ns2:getLocationResponse xmlns:ns2='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local'/ | /env:Body | /env:Envelope | My ws client implementation is: |protected Object callWebService(ExecutionContext ctx) throws Exception { | QName qname = new QName( | http://www.csapi.org/wsdl/parlayx/terminal_location/v2_2/service;, | TerminalLocationService); | TerminalLocationService service = new TerminalLocationService(null, qname); | TerminalLocation stub = (TerminalLocation) service.getTerminalLocation(); | configureStub(ctx, (javax.xml.ws.BindingProvider) stub); | return stub.getLocation((java.lang.String) getAddress(ctx), | (int) getRequestedAccuracy(ctx), (int) getAcceptableAccuracy(ctx), | (TimeMetric) getMaximumAge(ctx), (TimeMetric) getResponseTime(ctx), | (DelayTolerance) getTolerance(ctx)); |} | Does anyone know what is going on behind the scenes? What am I doing wrong? Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146464#4146464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: WS client returns null, why?
Sorry, my web browser confused me and I wrote in the wrong forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146465#4146465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WS client returns null, why?
Hi all, I am facing a problem when getting the response from a ws invocation. As far as I see through org.jboss.ws.core.MessageTrace logger, the ws server returns a valid response. I don't know why, this response turns to a null one in my client. Here are the log traces: | 2008-04-24 12:33:18,838 TRACE [org.jboss.ws.core.MessageTrace] Incoming Request Message | soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3. | org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | soapenv:Header | ns1:Security ns1:Password='app:1272268494445808129' ns1:UserName='domain_user' soapenv:actor='wsse:P | asswordToken' soapenv:mustUnderstand='1' xmlns:ns1='http://172.22.191.143:8080/parlayx2/services/Ter | minalLocation' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xsi:type='soapenc:string'/ | /soapenv:Header | soapenv:Body | getLocation xmlns='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local' |addresstel:34609214237/address |requestedAccuracy2000/requestedAccuracy |acceptableAccuracy4000/acceptableAccuracy |maximumAge | metric xmlns=''Hour/metric | units xmlns=''1/units |/maximumAge |responseTime xmlns='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local' | metric xmlns=''Minute/metric | units xmlns=''1/units |/responseTime |tolerance xmlns='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local'DelayTolerant/tolerance | /getLocation | /soapenv:Body | /soapenv:Envelope | 2008-04-24 12:33:18,947 WARN [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot get port meta | data for: {http://www.csapi.org/wsdl/parlayx/terminal_location/v2_2/service}TerminalLocation | 2008-04-24 12:33:19,229 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Request Message | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' | env:Header/ | env:Body | ns2:getLocation xmlns:ns2='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local' |ns2:address609214237/ns2:address |ns2:requestedAccuracy2000/ns2:requestedAccuracy |ns2:acceptableAccuracy4000/ns2:acceptableAccuracy |ns2:maximumAge | metricHour/metric | units1/units |/ns2:maximumAge |ns2:responseTime | metricMinute/metric | units1/units |/ns2:responseTime |ns2:toleranceDelayTolerant/ns2:tolerance | /ns2:getLocation | /env:Body | /env:Envelope | 2008-04-24 12:33:19,229 TRACE [org.jboss.ws.core.MessageTrace] Incoming Response Message | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' | env:Header/ | env:Body | ns2:getLocationResponse xmlns:ns2='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local' |return | latitude0.1/latitude | longitude0.1/longitude | accuracy3/accuracy |/return | /ns2:getLocationResponse | /env:Body | /env:Envelope | 2008-04-24 12:33:19,275 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' | env:Header/ | env:Body | ns2:getLocationResponse xmlns:ns2='http://www.csapi.org/schema/parlayx/terminal_location/v2_2/local' | / | /env:Body | /env:Envelope | My ws client implementation is: |protected Object callWebService(ExecutionContext ctx) throws Exception { | QName qname = new QName( | http://www.csapi.org/wsdl/parlayx/terminal_location/v2_2/service;, | TerminalLocationService); | TerminalLocationService service = new TerminalLocationService(null, qname); | TerminalLocation stub = (TerminalLocation) service.getTerminalLocation(); | configureStub(ctx, (javax.xml.ws.BindingProvider) stub); | return stub.getLocation((java.lang.String) getAddress(ctx), | (int) getRequestedAccuracy(ctx), (int) getAcceptableAccuracy(ctx), | (TimeMetric) getMaximumAge(ctx), (TimeMetric) getResponseTime(ctx), | (DelayTolerance) getTolerance(ctx)); |} | Does anyone know what is going on behind the scenes? What am I doing wrong? Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146467#4146467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss portal features; Extendable permissions API
Hi, this is my first post here. Could some one answer, what is this feature actually means? Extendable permissions API: Allows custom portlets permissions based on role definition. it reference on JBoss documentation reference. Im praktikant at one IT company in Germany, and my boss told me to review about the JBoss Portal features. Im also very new to JBoss Portal. and another question, what is the difference between the Enterprise edition and free one? is it only the support? Thanks for the reply. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146468#4146468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JBoss 4.05 and Dynamic IP
Hi, Were you able to resolve the Issue? I am having a similar issue now. I need to discover the IP dynamically - Clients NAT the IP's Please help. Thanks so much ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146469#4146469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Binding the same session bean to JNDI more than once
You probably have not configured classloader isolation for those 2 EARs. Create a jboss-app.xml (if you don't have one, already) for both these EARs. The jboss-app.xml needs to be placed in the META-INF folder of the EARs. The contents of that file should be something like this: EAR1: jboss-app | loader-repository |org.myapp:loader=myEAR |loader-repository-config | java2ParentDelegation=false |/loader-repository-config | /loader-repository | | | | /jboss-app | For the other EAR, the jboss-app.xml contents will be similar except a unique name for the classloader EAR2: jboss-app | loader-repository |org.myapp:loader=myOtherEAR |loader-repository-config | java2ParentDelegation=false |/loader-repository-config | /loader-repository | | | | /jboss-app | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146474#4146474 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how to call native library
its giving the following exception Unexpected Error in method: public abstract java.util.ArrayList tr.TrRemote.loadText(java.lang.StringBuffer,java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws java.rmi.RemoteException java.lang.UnsatisfiedLinkError: tr.Wrapper.execute(Ljava/lang/String;)V at tr.Wrapper.execute(Native Method) at tr.Wrapper.nativeCall(SMTWrapper.java:26) where tr bean is stateful ejb tr remote is remote interface Wrapper is class in which that library is called I think library loaded exception is in calling the method View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146475#4146475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss Tools 2.0.1.GA error when opening JBoss Tools HTML Edi
Hello, Complete newbie user here and I searched this forum but didn't get any similar problem. I have a vanilla Eclipse 3.3.2 (eclipse-jee-europa-winter-linux-gtk.tar.gz) installation and I downloaded JBossTools 2.0.1.GA and unzipped it (into eclipse/plugins) and then I restarted cleanly with eclipse -clean Now when I open up my previously existing project and try to double-click in the project explorer to open a Facelets xhtml file it tries to launch the JBoss Tools HTML Editor and I get the following error: An error has occurred. See error log for more details. /home/hermida/java/jdk1.5.0_15/jre/lib/i386/libawt.so: libmlib_image.so: cannot open shared object file: No such file or directory My existing project was *not* created using any JBoss Tools project wizard as I used a Maven plugin to create a different structure but should that matter? thanks for any help, leandro View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146480#4146480 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: proccess not execute HactionHandler
Sorry my internet is too slow.. and pages not load well View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146487#4146487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: jboss throws an exception when casting a proxy class
Do you have the bean interfaces in more than one jar/war file? See this for more details http://wiki.jboss.org/wiki/en/ClassCastExceptions. See if the jmx-console method mentioned in that wiki helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146488#4146488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: EntityManager remove does not remove?
Here's what i see in the javadocs of FlushModeType http://www.rhce.com/docs/manuals/jboss/jboss-eap-4.2/doc/hibernate/api/ejb-persistence-3.0-api/javax/persistence/FlushModeType.html anonymous wrote : | Flush mode setting. When queries are executed within a transaction, if FlushModeType.AUTO is set on the Query object, or if the flush mode setting for the persistence context is AUTO (the default) and a flush mode setting has not been specified for the Query object, the persistence provider is responsible for ensuring that all updates to the state of all entities in the persistence context which could potentially affect the result of the query are visible to the processing of the query. The persistence provider implementation may achieve this by flushing those entities to the database or by some other means. If FlushModeType.COMMIT is set, the effect of updates made to entities in the persistence context upon queries is unspecified. If there is no transaction active, the persistence provider must not flush to the database. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146489#4146489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Eclipse doesn't load JBoss Server with endorsed libs
I try to get JBoss 4.2 running with JAX-WS on Java6. Everything works fine if I start the server manually (run.bat). Well, if using Eclipse WTP by JBoss Tools I get an error. It seems to me that the endorsed libraries aren't loaded at startup. Maybe there is a possibility to configure that. THX for help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146491#4146491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.1.GA error when opening JBoss Tools HTML
has nothing to do with existing projects ;) seem you are not using a jdk with proper AWT ? Is it sun jvm or ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146492#4146492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JOBSS Messaging POC
i changed jndi props as | ### JBossNS properties | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.provider.url=jnp://10.12.170.180:1099 | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces From another end(system) how can i see the messages in another system ? my q listener code is | import java.io.*; | import java.util.*; | import java.util.Date; | import javax.transaction.*; | import javax.naming.*; | import javax.jms.*; | | import java.util.Properties; | import javax.jms.JMSException; | import javax.jms.TextMessage; | import javax.jms.Topic; | import javax.jms.TopicConnection; | import javax.jms.TopicConnectionFactory; | import javax.jms.TopicPublisher; | import javax.jms.TopicSession; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingException; | import javax.jms.Queue; | | | public class QBrowser | { | QueueConnectionFactory qconFact; | QueueConnection qcon; | QueueSession qsession; | /* in place of receiver we are using qbrowser here.*/ | private QueueBrowser qbrowser; | private Queue queue; | |public void init(Context ctx, String queueName) throws NamingException, JMSException | { | /* get the connection and create the connection object*/ | qconFact=(QueueConnectionFactory) ctx.lookup(MyExampleConnectionFactory); | qcon=qconFact.createQueueConnection(); | /* using connection create a non transactional session */ | qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE); | /* look up for the destination ie queue */ | queue = (Queue) ctx.lookup(queueName); | // we are using qbrowser here | qbrowser = qsession.createBrowser(queue); | | | | qcon.start(); | } | | public void displayQueue() |throws JMSException | { | Enumeration e = qbrowser.getEnumeration(); // gets list of messages. | Message m = null; | | if (! e.hasMoreElements()) { | System.out.println(There are no messages on this queue.); | } else { | | int ii =0; | while (e.hasMoreElements()) { |ii++; | m = (Message) e.nextElement();// display header | | System.out.println(Message ID + m.getJMSMessageID() + | delivered + new Date(m.getJMSTimestamp()) + | to + m.getJMSDestination()); | System.out.println(\tMessage type+ m.getJMSType() + Number +ii); | | if (m instanceof TextMessage) { | System.out.println(\t TextMessage \ + ((TextMessage)m).getText() + \); | } | }ii=0; | } | } | | public void close() |throws JMSException | { | qbrowser.close(); | qsession.close(); | qcon.close(); | } | | | public static void main(String[] args) |throws Exception | { | //InitialContext ic = getInitialContext(); | Properties props = new Properties(); | props.setProperty(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory); | props.setProperty(java.naming.factory.url.pkgs, org.jboss.naming); | props.setProperty(java.naming.provider.url, jnp://localhost:1099); | | Context ic = new InitialContext(props); | | QBrowser qb = new QBrowser(); | System.out.println( Trying to initialize the QBrowser); | qb.init(ic, queue/testQueue); | qb.displayQueue(); | qb.close(); | } | | } i given all jars acc to user guide.( i did't not found any trove.jar in this path $JBOSS_HOME/server/SERVER_NAME/lib/trove.jar) Please tell me what i am missing. -- SS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146493#4146493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.1.GA error when opening JBoss Tools HTML
Hello, Thank you for the reply - it is the regular Sun JDK 5.0 Update 15 gotten from http://java.sun.com/javase/downloads/index_jdk5.jsp. This is the norm no? leandro View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146495#4146495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: hot deploy of configuration files and message resources
You can deploy your WAR in exploded format http://wiki.jboss.org/wiki/en/ExplodedDeployment. Then whenever you change something in the WAR, just touch the web.xml so that the server redeploys your application. See this for more details http://wiki.jboss.org/wiki/RedeployAnApplicationWhenChangeAFileInAnExplodedDeploymentDirectory. Server restart is not required. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146496#4146496 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.1.GA error when opening JBoss Tools HTML
any chance you are running 64bit? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146497#4146497 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JOBSS Messaging POC
i am getting q is not having any messages View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146498#4146498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JOBSS Messaging POC
ssjboss wrote : | | | //InitialContext ic = getInitialContext(); | | Properties props = new Properties(); | | props.setProperty(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory); | | props.setProperty(java.naming.factory.url.pkgs, org.jboss.naming); | | props.setProperty(java.naming.provider.url, jnp://localhost:1099); | | | you still points to localhost. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146500#4146500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.1.GA error when opening JBoss Tools HTML
Regular 32-bit: jdk-1_5_0_15-linux-i586.bin Is there something I set up wrong? There weren't that many steps (to screw up) leandro View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146501#4146501 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: SSL Remoting in EJB3
jthinaka wrote : I see there's no progress on the issue yet. Is it because it's not a bug, if so, is there any documentation that needs to be updated? Ah, there's simply been no progress on these as the priority for the dev team is currently focused on other areas. If you'd like to give a look, by all means. :) S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146502#4146502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - ConnectionNotifier is produced: java.lang.NullPointerExcepti
I am using JBoss Messaging 1.4.0.SP3 on Jboss AS 4.2.1 GA (non-clustered installation). The JBoss Messaging configuration is defualt. It works excellently during about first 24 hours. After this unexpected error occurs periodically: 2008-04-24 16:14:20,486 DEBUG [org.jboss.remoting.ConnectionNotifier] Server connection lost to client session id = 117av-jr2kld-ffc8mznf-1-ffc8q2ro-7 | 2008-04-24 16:14:20,486 ERROR [org.jboss.remoting.ConnectionNotifier] Error notifying connection listeners of lost client connection. | java.lang.NullPointerException | at org.jboss.remoting.ConnectionNotifier.connectionLost(ConnectionNotifier.java:50) | at org.jboss.remoting.Lease.notifyClientLost(Lease.java:211) | at org.jboss.remoting.Lease.access$500(Lease.java:39) | at org.jboss.remoting.Lease$LeaseTimerTask.run(Lease.java:249) | at java.util.TimerThread.mainLoop(Timer.java:512) | at java.util.TimerThread.run(Timer.java:462) After this, sending/consuming of messages didn't work at all :(. There are no errors on client side. All messages are holding in queues. Das somebody have any idea about this? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146503#4146503 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Exception creating identity: ip-10-251-110-98: ip-10-251-110
Hi Friends, I tried to install Jboss in Centos5 OS got the below error. Config: Java Installed - java-1.5.0-sun-1.5.0.15-1jpp.nosrc.rpm OS - Centos 5 And, I remember I got - warning: Could not canonicalize hostname: ip-10-251-110-98 during java installation. I am fighting with this for last 1 week. Could you please help me to resolve this issue. [EMAIL PROTECTED]:/tmp/jboss-4.2.2.GA/bin] ./run.sh = JBoss Bootstrap Environment JBOSS_HOME: /tmp/jboss-4.2.2.GA JAVA: java JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true CLASSPATH: /tmp/jboss-4.2.2.GA/bin/run.jar = 14:40:41,184 INFO [Server] Starting JBoss (MX MicroKernel)... 14:40:41,185 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) 14:40:41,186 INFO [Server] Home Dir: /tmp/jboss-4.2.2.GA 14:40:41,186 INFO [Server] Home URL: file:/tmp/jboss-4.2.2.GA/ 14:40:41,187 INFO [Server] Patch URL: null 14:40:41,187 INFO [Server] Server Name: default 14:40:41,187 INFO [Server] Server Home Dir: /tmp/jboss-4.2.2.GA/server/default 14:40:41,187 INFO [Server] Server Home URL: file:/tmp/jboss-4.2.2.GA/server/default/ 14:40:41,187 INFO [Server] Server Log Dir: /tmp/jboss-4.2.2.GA/server/default/log 14:40:41,188 INFO [Server] Server Temp Dir: /tmp/jboss-4.2.2.GA/server/default/tmp 14:40:41,188 INFO [Server] Root Deployment Filename: jboss-service.xml 14:40:42,122 INFO [ServerInfo] Java version: 1.5.0_14,Sun Microsystems Inc. 14:40:42,122 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_14-b03,Sun Microsystems Inc. 14:40:42,122 INFO [ServerInfo] OS-System: Linux 2.6.16-xenU,i386 14:40:44,173 INFO [Server] Core system initialized 14:40:52,542 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry ([EMAIL PROTECTED])] 14:40:52,601 ERROR [MainDeployer] Could not create deployment: file:/tmp/jboss-4.2.2.GA/server/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can WEB-INF/lib have subdirectories with jars
No. The server will not load the jars from the subfolder(s). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146506#4146506 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem running Jboss 4.2.0 - Centos 5 OS
Hi, I am also getting this error struggling for last one week. Did you get any solution? Could you please help me on this. Regards, pani View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146507#4146507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: EntityManager remove does not remove?
You are right. But in case of FlushModeType.AUTO there are enormous SQL queries performed. This behaviour you mentioned is defined also in Final Release of JSR-000220 Enterprise JavaBeans 3.0 http://jcp.org/aboutJava/communityprocess/final/jsr220/index.html - ejb-3_0-fr-spec-persistence.pdf 3.2.3 Synchronization to the Database anonymous wrote : | The EntityManager and Query setFlushMode methods can be used to control synchronization semantics. The effect of FlushModeType.AUTO is defined in section 3.6.2. If FlushModeType.COMMIT is specified, flushing will occur at transaction commit; the persistence provider is permitted, but not required, to perform to flush at other times. If there is no transaction active, the persistence provider must not flush to the database. | and section 3.6.2 Queries and FlushMode anonymous wrote : | When queries are executed within a transaction, if FlushModeType.AUTO is set on the Query object, or if the flush mode setting for the persistence context is AUTO (the default) and a flush mode setting has not been specified for the Query object, the persistence provider is responsible for ensuring that all updates to the state of all entities in the persistence context which could potentially affect the result of the query are visible to the processing of the query. The persistence provider implementation may achieve this by flushing those entities to the database or by some other means. If FlushMode-Type.COMMIT is set, the effect of updates made to entities in the persistence context upon queries is unspecified. | Fortunately I found also in section 3.2.5 Managed Instances anonymous wrote : | It is the responsibility of the application to insure that an instance is managed in only a single persistence context. | ... | The contains method returns false: | . If the remove method has been called on the entity, or the remove operation has been cascaded to it. | SOLUTION: Well my solution for this problem is to check using method EntityManager.contains(..) that returned object (by EJBQL) is contained in EntityManager instance. Changes in my code: if ((pv.getPlanId() == newDBPlanVersion.getPlanId()) (!pv.equals(newDBPlanVersion)) em.contains(pv)){ | public DBPlanVersion addPlanVersion(int planId, String description) { | DBPlanVersion newDBPlanVersion = new DBPlanVersion(); | newDBPlanVersion.setPlanId(planId); | newDBPlanVersion.setDescription(description); | // Lets check whether plan version with the same plan id already exists | for (DBPlanVersion pv : findAll()) { | if ((pv.getPlanId() == newDBPlanVersion.getPlanId()) (!pv.equals(newDBPlanVersion)) em.contains(pv)) { | throw new RuntimeException(Unable to insert plan version with the same planId = + pv.getPlanId()); | } | } | em.persist(newDBPlanVersion); | return newDBPlanVersion; | } | It is fully functional also with caching enabled on DBPlanVersion and caching on queries | @Entity(name = DBPlanVersion) | @Table(name = PLAN_VERSION) | @Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL) | @NamedQueries({ | @NamedQuery(name = DBPlanVersion.findAll, query = SELECT a FROM DBPlanVersion a, hints = [EMAIL PROTECTED](name=org.hibernate.cacheable, value=true)}), | @NamedQuery(name = DBPlanVersion.findByPlanId, query = SELECT a FROM DBPlanVersion a WHERE a.planId = :planId, hints = [EMAIL PROTECTED](name=org.hibernate.cacheable, value=true)} ) | }) | public static DBPlanVersion implements Serializable { | // ... the same code as previous post | } | EJB3/JBoss gurus, may I use this solution? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146508#4146508 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Unable to run multiple cluster nodes.
A jboss-web.xml file is the JBoss-specific deployment descriptor you create yourself and place in your war's WEB-INF directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146510#4146510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.1.GA error when opening JBoss Tools HTML
Hi, The library is there in the same directory as libawt.so: | [EMAIL PROTECTED] ~/java]$ find . -iname libmlib* | ./jdk1.5.0_15/jre/lib/i386/libmlib_image.so | [EMAIL PROTECTED] ~/java]$ Should I change something in the eclipse.ini? I am using the default one: -showsplash | org.eclipse.platform | -vmargs | -Dosgi.requiredJavaVersion=1.5 | -Xms40m | -Xmx512m leandro View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146513#4146513 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Cannot obtain wsdl service
I think you are using JAX-RPC client. Try using JAX-WS client. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146514#4146514 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Managed Bean Scope
What is the preferred method for sharing the portal username with a JSF managed bean? Is there a shortcut for passing the username in as a property through the faces-config.xml file? Thanks. Greg Setup: jboss/portal package - 2.6.4 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146516#4146516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - login/client id that is already connected/cluster configurat
Hi, I searched a lot this forum, the spec and the net, but could not find a solution to my problem. I have two JBoss 4.2.2GA running in a cluster. I have an application that deploy a queue in jboss.xml like this: message-driven | ejb-nameContatoConsumerBean/ejb-name | configuration-nameStandard Message Driven Bean/configuration-name | destination-jndi-namequeue/cadastro/destination-jndi-name | | mdb-userCadastroUser/mdb-user | mdb-passwdCadastroUser/mdb-passwd | mdb-subscription-idCadastroUser/mdb-subscription-id | | /message-driven and then, I am receiving the following message just on the second node of the cluster partition: 10:39:01,727 ERROR [JMSContainerInvoker] Reconnect failed: JMS provider failure detected for ContatoConsumerBean | javax.jms.JMSSecurityException: The login id has an assigned client id 'CadastroUser', that is already connected to the | server! | at org.jboss.mq.sm.AbstractStateManager.checkUser(AbstractStateManager.java:180) | at org.jboss.mq.server.JMSDestinationManager.checkUser(JMSDestinationManager.java:681) | at org.jboss.mq.server.JMSServerInterceptorSupport.checkUser(JMSServerInterceptorSupport.java:161) | at org.jboss.mq.server.TracingInterceptor.checkUser(TracingInterceptor.java:581) | at org.jboss.mq.server.JMSServerInvoker.checkUser(JMSServerInvoker.java:167) | at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:222) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:419) | at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761) | at java.lang.Thread.run(Thread.java:595) The jar with this jboss.xml is being deployed on the farm deploy dir. Should this jar be deployed on the deploy-hasingleton dir? Thanks in advance for any help. Marcelo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146518#4146518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Unable to run multiple cluster nodes.
As a continution message, I am getting that session expiration message. And until, I reset the cookie, I could not get back the load balancer again. But, this is violating the clustering completely. PS: As my office timings are entirely reverse to yours, I could not contact you online. If there is any alternative to this, please let me know. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146519#4146519 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Exception creating identity: ip-10-251-110-98: ip-10-251
Going by the number of users reporting this, i added this as a FAQ to the wiki: http://wiki.jboss.org/wiki/ExceptionCreatingIdentity View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146521#4146521 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS AS 4.2 ClassLoading Model
anonymous wrote : From this document, am I correct to infer that if scoped class loading is enabled using com.example:archive=unique-archive-name | in jboss-app.xml, the sub-modules in the ear (WAR, EJB-JAR) don't inherit classes in the jar libraries from parent EAR/lib/ ? or does this apply only to sibling EARs? Both? You are scoping the entire EAR file, which means the WAR/EJB-JAR within the EAR will share the classes present in the EAR. However the other EAR(s) (i guess that's what you meant by sibling) will not have access to these classes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146527#4146527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Getting Log4j configured for an EAR: DLQHandler NullPoin
I don't see any obvious reasons why this exception should be thrown. Can you tell us a bit more about your application? Its contents and how its packaged? And maybe a bit more DEBUG/TRACE logs from the server.log might help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146529#4146529 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: write lock for / could not be acquired after 15000 ms
Upgrading seemed to get rid of them for a bit but now we've cleared some other problems they've come back. I'm a bit confused now though. We changed one of our entity beans to READ_ONLY and JBC complained that it couldn't get a write lock on it, even though it's only ever pulled from the DB and never modified. The problem went away when we changed the isolation level, which I thought as we were using OPTIMISTIC locking should always be ignored. From what we can see the system is taking a write lock all the way up the tree from the target node to the root node whenever it wants to modify anything. Whereas we obviously only want it to take a lock on the node to be modified. So 1. We want the system to only take a write lock on the nodes it's actually changing. What should we set? 2. All transactions with our entity beans are managed by the JBoss transaction manager. If we change the isolation level to NONE will the transaction manager look after the integrity of the data for us? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146530#4146530 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JDNI Lookup - Naming Not Found with JBOSS 4.2.2
Senthil, Based on the JNDI tree contents and the the jndi-name you are using, i don't see a reason why it should throw a NameNotFoundException. How are you starting JBoss? Do you use the -b option (if yes, what value do you pass)? And is the servlet deployed on the same server as the datasource? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146531#4146531 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem running Jboss 4.2.0 - Centos 5 OS
Morning rashmi, my problem was solved by adding the the dynamic host name of my machine to my /etc/hosts file for example my hosts file contains | 127.0.0.1 localhost.localdomain localhostdchp-796-1 | ::1 localhost6.localdomain6 localhost6 | | Try that and see if it works. What you have to keep in mind is that if you disconnect from the network you are on and reconnect, you will have to go and change the file to the new host name you receive. If this does not help, post the error you are getting, maybe someone might another solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146532#4146532 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unable to pre-compile JSP using ANT task with JBoss 4.2.
That was a pretty good suggestion; I did add those jars but the result was the same. I actually solved my problem; it turned out that our TLD files had DOCTYPE... headers in them; and the XML parser didn't like that at all. I removed the DOCTYPE... line and the task executed successfully (note that some of the TLD files had schema information instead of a DOCTYPE, but that seems to fine... For anybody having the same problem, here is my final pre-compiling task: | path id=cp.jasper2 | pathelement location=${java.home}/../lib/tools.jar / | pathelement location=${deploy.dir}/jboss-web.deployer/jbossweb.jar / | pathelement location=${deploy.dir}/../../../lib/jboss-common.jar / | pathelement location=${deploy.dir}/../../../lib/commons-logging.jar / | pathelement location=${lib.dir}/eclipse/javaee.jar / | pathelement location=${deploy.dir}/../../../lib/endorsed/xercesImpl.jar / | pathelement location=${deploy.dir}/../../../lib/endorsed/xalan.jar / | pathelement location=${deploy.dir}/../../../lib/endorsed/serializer.jar / | | fileset dir=${lib.dir}/web / | pathelement path=${registry.build.dir}/classes / | path refid=cp.lib/ | /path | | target name=jspc description=Pre-compile are JSP files. depends=copy-metadata, compile if=jsp.precompile | echo message=Compiling JSPs... / | | taskdef classname=org.apache.jasper.JspC name=jasper2 classpathref=cp.jasper2 / | | !-- this will generate the java files for each JSP file -- | jasper2 | compile=false | validateXml=false | uriroot=${build.war.files.dir} | webXmlFragment=${registry.build.dir}/generated_web.xml | package=${package.web} | outputDir=${registry.build.dir}/jsp-src / | | !-- compile the java files generated in the previous step -- | javac | srcdir=${registry.build.dir}/jsp-src | destdir=${registry.build.dir}/classes | listfiles=${compile.listfiles} | failonerror=${compile.failonerror} | debug=${compile.debug} | debuglevel=${compile.debuglevel} | optimize=${compile.optimize} | deprecation=${compile.deprecation} | classpathref=cp.jasper2 / | /target | Thanks for the help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146535#4146535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - org.jboss.remoting.CannotConnectException: Can not get conne
I'm using JBoss 4.2.2.GA w/ jboss-messaging-1.4.0.SP3 ( jboss-remoting.2.2.4.SP4). One of my test cases makes what turns out to be thousands of calls remote EJB3 calls and eventually poops out. The test is realistic since our remote clients will be performing batch operations thus firing off many calls within a short period of time. Yes, I'm running on WinXP SP2. I am aware of http://jira.jboss.org/jira/browse/EJBTHREE-986 and also see that an issue in jira for jboss was created and Closed though no fix was provided. I already tried altering some Windows REGISTRY values, per suggestions in comments of http://jira.jboss.org/jira/browse/EJBTHREE-986: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] MaxUserPort=dword:fffe [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] TcpTimedWaitDelay=dword:001e | org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://127.0.0.1:3873/] | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:559) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) | at $Proxy39.getOrganizationType(Unknown Source) | at gov.nih.nci.po.test.integration.POServiceRemoteTest.createOrg(POServiceRemoteTest.java:155) | at gov.nih.nci.po.test.integration.POServiceRemoteTest.createPerson(POServiceRemoteTest.java:420) | at gov.nih.nci.po.test.integration.POServiceRemoteTest.bulkCreatePerson(POServiceRemoteTest.java:684) | 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.junit.internal.runners.TestMethod.invoke(TestMethod.java:59) | at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98) | at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79) | at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87) | at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77) | at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) | at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88) | at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) | at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) | at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) | at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) | at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) | at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) | at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) | at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) | at org.apache.maven.surefire.Surefire.run(Surefire.java:177) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) | at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997) | Caused by: java.net.BindException: Address already in use: connect | at
[jboss-user] [JBossWS] - Re: JBossWS Plugin for JBossIDE / Eclipse
Thanks for posting this. In my case, I was using RHDS w/ JBoss 4.2.2. In my case, I created a Dynamic Web Project type. I had to go into the Eclipse Preferences and change my Project facet to use Java 5.0. The default was Java 6, so I was getting the bad class version error until I changed it and redeployed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146542#4146542 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic task creation
I've tested the dleerob solution. But it doesn't works. this is the image of the process i'm modelling [img]http://web.tiscali.it/mcuccia/various/processimage.jpg[/img] and this is the par file http://web.tiscali.it/mcuccia/various/interpello.par As you can see in this code |node name=inizioInterpello | | event type=node-leave | action name=actionIstruttoriaInterpello class=it.unict.interpello.IstruttoriaInterpello/action | /event | transition name=toFork to=fork1/transition |/node | when the token leaves the inizioInterpello node I execute the action class IstruttoriaInterpello. This is the place where the new task instances are created. Next you can see the relevant code of IstruttoriaInterpello: for each selected user, I create a new task, cloning task compilazione. | TaskMgmtDefinition tmd = (TaskMgmtDefinition)executionContext.getDefinition(TaskMgmtDefinition.class); | Task task = tmd.getTask(task compilazione); | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance(); | TaskInstance taskInstance = tmi.createTaskInstance(task, executionContext); | taskInstance.setActorId(user); | BUT (here is the problem) the newly created task has two leaving transictions named tr1 and tr2, and doesn't have the (aspected) leaving transiction named toJoinFromCompilazione. dleerob, do you have similar problems? anyone knows why this appens? thanks PS sample at 11.2.2 http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html#taskinstancesandgraphexecution is very very similar to the dleerob code View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146545#4146545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Session Bean vs. POJO
There is only one difference that I can think of. The app server maintains a pool of EJBs. The EJBs are reused for every web service request. Thus is your web service has to do some initialization, it will do it only once and can then service multiple requests. Of course, if the EJBs are not used they can time out and be removed from the pool. For POJO web services, a new instance is created for each call. Thus if you need to do initialization, it happens for every request. See http://www.jboss.com/index.html?module=bbop=viewtopict=105344 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146549#4146549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - weblogic9.1 to Jboss5.0 Migration
Hi , Currently I am using Weblogic want to migrate the application to JBoss.For this i changed the conf file like jboss.xml and jboss-web.xml . But still i am not able to deploy the application . The Logs Error is : :10,729 INFO [TransactionManagerService] Recovery manager started 11:19:10,729 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 11:20:05,277 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/WorkingDirectory/Abhishek/jboss-5.0.0.Beta4/jboss-5.0.0.Beta4/server/default/deploy/Eorder.ear state=Not Installed mode=Manual requiredState=Parse org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/WorkingDirectory/Abhishek/jboss-5.0.0.Beta4/jboss-5.0.0.Beta4/server/default/deploy/Eorder.ear/EorderWeb.war at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:232) at org.jboss.deployment.JBossWebAppParsingDeployer.createMetaData(JBossWebAppParsingDeployer.java:141) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:199) at org.jboss.deployment.JBossWebAppParsingDeployer.createMetaData(JBossWebAppParsingDeployer.java:87) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:162) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:246) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408) at org.jboss.Main.boot(Main.java:208) at org.jboss.Main$1.run(Main.java:534) at java.lang.Thread.run(Thread.java:595) Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Element type description must be declared. @ *unknown*[11,16] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:193) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:153) at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:120) at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:86) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:223) ... 23 more Caused by: org.xml.sax.SAXException: Element type description must be declared. @ *unknown*[11,16] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:432) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at
[jboss-user] [JBoss Messaging] - Re: Infromation Regarding JBOSS 4.2.1.GA
Did you install only JBossAS 4.2.1, or did you also install a version of JBoss Messaging? I ask because JBossAS 4.2.1 comes with an older messaging server named JBossMQ, while JBoss Messaging is the newer messaging server. Also, what version of MDB will you be using? 2.x or 3? Finally, did you check the documentation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146552#4146552 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clustered server preference
chip_schoch wrote : Thank you Andy and Clebert for taking the time to explain this in detail. To reiterate, what you are saying is that if I need to have multiple consumers processing messages from a clustered queue in FIFO order, than I should have all my client consumers connect to the same node in the cluster. | | The key point here, is that if you want to have true FIFO queue semantics, then there is a) Absolutely no point in having more than one consumer - it will never give you better throughput Think about it this way: For true FIFO, ordered processing, you take a message from the queue, you process it, when you have finished processing it, you can take another, ad infinitum... So you can clearly see there is no point in having more than one consumer on the queue since you can never process them in parallel if you want to guarantee order. Now, that one one consumer, it always makes sense for it to live on the same node, since you don't want to incur an extra network hit to deliver it to another node before processing. Furthermore it makes zero sense to have different consumers on different nodes for the same reasons outlined above. If you want FIFO then messages *must be processed sequentially*, so if message 1 is being processed on node 1, then message 2 can be processed on node 2 until message 1 processing is done. Again, you can see that there's absolutely no point in having multiple consumers, since you'll never get better throughput, since the processing is serialized. In fact you'll get a negative hit due to the extra overhead of moving messages around unnecessarily. For a more technical explanation see Amdahl's law: http://en.wikipedia.org/wiki/Amdahl's_law. In the case of a strict FIFO queue, zero proportion of the work is parallelizable, so there is zero gain, in clustering it. Clustering will only help you to improve throughput if at least some of your work load is parallelizable. In more technical terms, see Amdahls law: View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146554#4146554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JOBSS Messaging POC
Let me clear First I sent msg to q from FIRST system 10.17.120.146 (for example) to SECOND System ( 10.17.120.180 ). By changing jndi props I just ran the ant file by going to jboss messaging queue example, so now msg are in queue which is in 10.17.120.180. Now i went to SECOND system (10.17.120.180) and I ran the listener (I configured this in eclipse and took all necessary jar files except trove.jar) by giving localhost , is there any issue with this ? If i give FIRST system ip address i.e (10.17.120.146) I am getting connection error. (I created my connection factory and queue in both systems for this example.) Please suggest me in this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146555#4146555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: FileNotFoundException in 4.0.5.GA
I tried deploying the war exploded. gave me a different error..any clues ? 09:32:20,055 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- Packages waiting for a deployer --- | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compos | ite/META-INF/MANIFEST.MF } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/META-INF/MANIFEST.MF | altDD: null | lastDeployed: 1209051140007 | lastModified: 1209051140004 | mbeans: | | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compo | site/META-INF/sca-contribution.xml } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/META-INF/sca-contribution.xml | altDD: null | lastDeployed: 1209051140023 | lastModified: 1209051140021 | mbeans: | | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compo | site/WEB-INF/classes/DCRI-Finance-Composite.composite } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/WEB-INF/classes/DCRI-Finance-Composit | e.composite | altDD: null | lastDeployed: 1209051140033 | lastModified: 1209051140032 | mbeans: | | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compo | site/WEB-INF/classes/org/dcri/finance/Trial.class } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/WEB-INF/classes/org/dcri/finance/Tria | l.class | altDD: null | lastDeployed: 1209051140038 | lastModified: 1209051140037 | mbeans: | | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compo | site/WEB-INF/classes/org/dcri/finance/TrialImpl.class } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/WEB-INF/classes/org/dcri/finance/Tria | lImpl.class | altDD: null | lastDeployed: 1209051140043 | lastModified: 1209051140042 | mbeans: | | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compo | site/WEB-INF/classes/org/dcri/finance/launch/SCAFinance.class } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/WEB-INF/classes/org/dcri/finance/laun | ch/SCAFinance.class | altDD: null | lastDeployed: 1209051140047 | lastModified: 1209051140046 | mbeans: | | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compo | site/WEB-INF/jboss-web.xml } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/WEB-INF/jboss-web.xml | altDD: null | lastDeployed: 1209051140051 | lastModified: 1209051140050 | mbeans: | | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compo | site/WEB-INF/web.xml } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/WEB-INF/web.xml | altDD: null | lastDeployed: 1209051140054 | lastModified: 1209051140053 | mbeans: | | --- Incompletely deployed packages --- | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compos | ite/META-INF/MANIFEST.MF } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/META-INF/MANIFEST.MF | altDD: null | lastDeployed: 1209051140007 | lastModified: 1209051140004 | mbeans: | | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compo | site/META-INF/sca-contribution.xml } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-composite/META-INF/sca-contribution.xml | altDD: null | lastDeployed: 1209051140023 | lastModified: 1209051140021 | mbeans: | | [EMAIL PROTECTED] { url=file:/C:/work/jboss-4.0.5.GA/server/default/deploy/dcri-finance-compo | site/WEB-INF/classes/DCRI-Finance-Composite.composite } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch:
[jboss-user] [EJB 3.0] - Re: Calling EJB 3 Session Bean from EJB 2 Session Bean???
Cool, thanks for the help. Appreciate it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146557#4146557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JOBSS Messaging POC
Here Listener means my QBrower.java View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146560#4146560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: FileNotFoundException in 4.0.5.GA
disregard my last msg. the war file didn't have the .war extension. i'm still getting the Access is denied, FileNotFoundException when deploying with the exploded war... appreciate any help - abe View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146561#4146561 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IdentityLoginModule not found
Identity management changed significantly recently (was it in 2.6.3 or 2.6.4, I'm not sure), and was also removed from the main body of portal code and placed into its own module. In 2.6.4 you can find it in thirdparty/jboss-portal/module/identity. I count six *LoginModule classes there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146562#4146562 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - LDAP login with Exchange
Can anyone provide me with a ldap_identity-config.xml or link to help on one, which is configured to use Microsoft Exchange. (Specifically Small Business Server, where the credentials are somewhat different). Unfortunately, though I've got it working with JBoss and JAAS, I have no clue how to transfer that data to the JBoss Portal LDAP configuration. Here's our original JAAS file: | !-- A LDAP Active Directory connection. Currently setup for Windows SBS. -- | application-policy name=ldap-server-login | authentication | login-module code=com.msp.ejb.security.ADLdapLoginRolesModule flag=required | module-option name=java.naming.provider.urlldap://our-server:389//module-option | module-option name=rolesCtxDNOU=SBSUsers,OU=Users,OU=MyBusiness,DC=msphq,DC=local/module-option | module-option name=matchOnUserDNfalse/module-option | module-option name=principalDNPrefixCN=/module-option | module-option name=principalDNSuffix,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=msphq,DC=local/module-option | module-option name=uidAttributeIDname/module-option | module-option name=roleAttributeIDmemberOf/module-option | module-option name=roleAttributeIsDNtrue/module-option | module-option name=roleNameAttributeIDname/module-option | !-- MSP specific -- | module-option name=dataSourceJNDINamejava:/@deployeddatabase@/module-option | module-option name=callerPrincipalGroupCallerPrincipal/module-option | module-option name=applicationUserIdQuery | select userid from ad_users | where adguid = ? | /module-option | module-option name=uniqueUserIdQuery | select MAX(userid) from users | /module-option | module-option name=applicationUserInsert | insert into users(userid, username, emailaddress, company, status, failedlogins) values(?,?,?,?,'VALID',0) | /module-option | module-option name=adUserInsert | insert into ad_users(userid, adguid) values(?,?) | /module-option | module-option name=applicationCompanyCode/module-option | /login-module | /authentication | Thanks... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146567#4146567 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Integration testing clustered applications
Are you using the all config? How are you packaging things? The load balance policy classes should already be on the classpath; don't see why you'd need to add them. The org.jboss.cache.eviction.EvictionPolicyConfig class was removed in JBoss Cache 2.0. But AS 4.2.2 runs with JBC 1.4.1. Are you packaging JBC 2.x in your deployment? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146566#4146566 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IdentityLoginModule not found
Portal Identity module: http://anonsvn.jboss.org/repos/portal/modules/identity/tags/JBP_IDENTITY_1_0_2/ JBoss security http://anonsvn.jboss.org/repos/jbossas/projects/security/security-jboss-sx/tags/2.0.1.GA/jbosssx/src/main/org/jboss/security/auth/spi/ (this is example location as I would need to track where the exact sources for jbosssx jar version consumed by portal are) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146569#4146569 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: FileNotFoundException in 4.0.5.GA
Because you have other war files that deploy successfully, I cannot think offhand of any reason why this one would not. Here si what I would try. Does C:\work\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp39173dcri-finance-composite-exp.war exist? Is it a directory or file? Does this match for the corresponding entries for WARs that deployed? If you rename cri-finance-composite-exp.war to foo.war, does it deploy? Were you getting the exact same error with the exploded war, or was the file name in the error message different? It should be a different name. If it was the same name, try with an exploded war again, but remove the server/default/tmp directory before started jbossas. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146570#4146570 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IdentityLoginModule not found
I forgot to mention that thirdparty is not populated until you do a build. Go the the build directory and run the build.bat or build.sh script. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146571#4146571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: LDAP login with Exchange
I suspect I should of been searching for 'Active Directory' which would of let me find: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigurePortalForMicrosoftActiveDirectory ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146573#4146573 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Session Bean vs. POJO
thanks much View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146574#4146574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Data Gravitation
I have been able to recreate this. I will soon add a modified version of your test (modified to fit our test fwk) to our unit test suite. Just as an FYI, this fails on branch 2.1.X but not on trunk (soon-to-be 2.2.0). I'll add a more formal analysis about this issue soon, but for now, see: JBCACHE-1320, which is a feature added in 2.2.0 which probably fixed this issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146578#4146578 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Get and send notification when entities get updated or delet
We need to bridge our old apps developed in WebObject with the new one development on JBoss. We know in WebObject how to hook in the framework to get notify when entities get updated or deleted but I not sure how to do it in JBoss. The only thing I've seen so far is use Lifecycle call back method that can be defined on EJB3 entities. But I find this solution invasive. Is there a way to do it with AOP? We are open in regard to JBoss version (4.2+). Any lead would be greatly appreciate. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146579#4146579 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: log4j.properties in ear ignored
From reading: http://wiki.jboss.org/wiki/Log4jRepositorySelector;, I believe that the repository selector method is the preferred way, over class loader configuration, to solve this issue. However the article in the url above does not specify whether it can be adapted for an EAR. Any thoughts and ideas on how it can be adapted for a EAR (perhaps through a startup servlet). I would like to go the Repository Selector way, cos when I try scoping, log4j starts working but other third party products stop working :-). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146585#4146585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Web pages are not running on mozilla
The number one rule when working with JavaScript is: don't trust Internet Explorer! Here is the offending line: document.Input_Form1.action=LoginServlet; Why this line is incorrect I will leave as a research item for you. As a hint, do not rely on Microsoft documentation, or on any tutorials that are Microsoft centric. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146587#4146587 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how to call native library
Try running ldd against your .so to see if all of the libraries it needs are also in the library path. If any of them is missing your .so will not load. Are you sure your .so if built correctly and is exporting the correct entry points? Can you load the .so from a simple Java application? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146590#4146590 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - XA Recovery of messages sent to a Topic
I am testing/enabling XA transaction recovery for JBossMQs on version 4.2.3.GA of the app server and version 4_2_3_GA_SP of jbossts. When I send a message to a queue I see that the JBossMQ code saves the transaction id and message in its recovery tables. If I kill the AS just before running phase 2 of the commit then on restart the TM recovery code successfully recovers the XID for the failed branch by calling recover on the XAResource (associated with the XAQueueSession) and successfully replays the transaction. However, if do the same steps on a Topic, then calling recover on the XAResource (associated with the XATopicSession) does not return any XID. My question is, should JBossMQ support recovery of messages sent to a Topic within an XA transaction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146595#4146595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Cluster on different computers are both reporting to be loca
I am evaluating JBoss right now and trying to set up a simple cluster with 2 computers. I followed the tutorial on how to set up the clusters, and they seem to be talking, both can contact the database etc. but when I try to run the distributed-queue or distributed-topic example, they both fail the assert with either 0 == 0 for messaging-node0 or 1 == 1 for messaging-node1 The connection factor request is only returning the localhosts serverID When I connect the 2, I get the following messages: 17:04:29,094 INFO [TreeCache] viewAccepted(): [172.22.58.4:49168|35] [172.22.58.4:49168, 172.22.58.1:49215] 17:04:29,132 INFO [TreeCache] locking the subtree at / to transfer state 17:04:29,133 INFO [StateTransferGenerator_140] returning the state for tree rooted in /(1024 bytes) 17:04:34,519 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 35, delta: 1) : [127.0.0.1:1099, 127.0.0.1:1099] 17:04:34,520 INFO [DefaultPartition] I am (127.0.0.1:1099) received membershipChanged event: 17:04:34,520 INFO [DefaultPartition] Dead members: 0 ([]) 17:04:34,520 INFO [DefaultPartition] New Members : 0 ([]) 17:04:34,520 INFO [DefaultPartition] All Members : 2 ([127.0.0.1:1099, 127.0.0.1:1099]) Why does it think both members are 127.0.0.1? What setting do I need to change to fix this? Thanks, -Joel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146596#4146596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user