[jboss-user] [Clustering/JBoss] - jboss 4.0.2 + cluster is not working
Hii All Please help me .I am not able to see the apache_home/log/mod_jk.log.But when i say http://localhost/web-console , Http page not found comes. But in error.log i can see File does not exist: C:/Program Files/Apache Group/Apache2/htdocs/WEB_CONSOLE My uriworkers.property file is | # Simple worker configuration file | | # Mount the Servlet context to the ajp13 worker | /jmx-console=loadbalancer | /jmx-console/*=loadbalancer | /web-console=loadbalancer | /web-console/*=loadbalancer | my workers.property file is | | # 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=8009 | worker.node1.host=192.168.81.14 | 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=8009 | worker.node2.host=192.168.81.29 | worker.node2.type=ajp13 | worker.node2.lbfactor=1 | # worker.node1.connection_pool_size=10 (1) | | # Load-balancing behaviour | worker.loadbalancer.type=lb | worker.loadbalancer.balance_workers=node1,node2 | | # Status worker for managing load balancer | worker.status.type=status | | | my mod-jk.conf i s | | # Load mod_jk module | # Specify the filename of the mod_jk lib | LoadModule jk_module modules/mod_jk.so | | # Where to find workers.properties | JkWorkersFile conf/workers.properties | | # Where to put jk logs | JkLogFile logs/mod_jk.log | | # Set the jk log level [debug/error/info] | JkLogLevel info | | # Select the log format | JkLogStampFormat [%a %b %d %H:%M:%S %Y] | | # JkOptions indicates to send SSK KEY SIZE | # Note: Changed from +ForwardURICompat. | # See http://tomcat.apache.org/security-jk.html | JkOptions +ForwardKeySize +ForwardURICompatUnparsed -ForwardDirectories | | # JkRequestLogFormat | JkRequestLogFormat %w %V %T | | # Mount your applications | JkMount /EILMT/* loadbalancer | | # You can use external file for mount points. | # It will be checked for updates each 60 seconds. | # The format of the file is: /url=worker | # /examples/*=loadbalancer | JkMountFile conf/uriworkermap.properties | | # Add shared memory. | # This directive is present with 1.2.10 and | # later versions of mod_jk, and is needed for | # for load balancing to work properly | # Note: Replaced JkShmFile logs/jk.shm due to SELinux issues. Refer to | # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225452 | JkShmFile run/jk.shm | | # Add jkstatus for managing runtime data | Location /jkstatus/ | JkMount status | Order deny,allow | Deny from all | Allow from 127.0.0.1 | /Location | And i hav made changes to server.xml and jboss-service.xml Pleastell me what shud i do. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4148995#4148995 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4148995 ___ 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.1.0.CR1 released
I have tested this with a fresh install of eclipse winter and your patch for wtp. A seam ear project (seam2.0) does deploy and start correct. Minor problem: My Search menu is labeled searchMenu.label And, please, update RF to 3.2.x before GA. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149000#4149000 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JPA/Hibernate MySQL type mapping
Hi, I'm using Hibernate implementation of JPA annotation to map mysql tables. I encountered problems when it came to TEXT and BLOB types (and their TINY, MEDIUM, LONG counterparts) can anyone point me to a page explaining how to map these types using annotations. Considering BLOBs I found the solution : @Lob + @Column([whatever], length= X) where X is the corresponding length for the BLOB (LONG, MEDIUM, TINY) type. Dav' View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149001#4149001 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Batch registration of new users, how to do it?
There are two ways I can think of to accomplish this. 1) You could edit jboss-portal.sar/conf/hibernate/user/setup.txt. This file defines the initial set of users. With a decent editor with macro capabilities you could very easily expand this file to create any number of initial users. The only caveat is that this would work only on a clean portal (one that have never been run before). 2) You could user JMeter or Grinder to create the users. Use the proxy capability of either tool to record a session where you create one user, then edit the script to generalize the user id. And the run the script. I have done both #1 and #2. #1 I used to create a handful of initial users. #2 I use to create a large quantity of users, usually naming them user-N, where N is 1 through . Makes it easy to write performance tests to randomly select a user. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149003#4149003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - MulticastDetector crashes my network
Hello all! At this moment, I am developing a solution using JBoss Remoting (2.2.1GA) and I have detected a ugly problem with MulticastDetector. If you try to launch SimpleDetectorClient (included as JBoss Remoting sample of detection multicast), I have a problem. You can see it installing a nextwork monitor and... This execution sends to the network 32 UDP packets per second!!! After time, network gets down (no connection, no Internet). However, if you execute SimpleDetectorServer (in the same branch), the packet rate is 1 per second (acceptable in a server-side environment). I have tried to play with heartbeat time delay and default time delay and I don't have positive results. After change it, the frequency of packets is the same (client-side and server-side). Can someone help me? Thanks! Santiago Ameller. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149006#4149006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss 4.2.2.GA shutdown script -su: java command not fou
Looks like the start command uses java_home/bin/java. but the shutdown command uses only java. Change the the line of the script that declares the shutdown command to ADD $java_home/bin, as follows: JBOSS_CMD_STOP=${JBOSS_CMD_STOP:-$JAVA_HOME/BIN/java -classpath $JBOSSCP org.jboss.Shutdown --shutdown} View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149007#4149007 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - EJB3 and CORBA clients
Hello, could somebody explain me, how to connect a ejb3 bean deployed in jboss-5.0.0.Beta4 from a CORBA client (Java and/or C++) ? Here is the bean code: Bean Interface: | | package arv; | | import java.rmi.RemoteException; | import javax.ejb.EJBObject; | | public interface HelloInterface extends EJBObject | { |void helloWorld() throws RemoteException; | } | | Bean Implementation: | | import javax.ejb.Remote; | import javax.ejb.Stateless; | | import org.jboss.ejb3.annotation.IIOP; | import org.jboss.ejb3.annotation.RemoteBinding; | import org.jboss.ejb3.annotation.defaults.RemoteBindingDefaults; | | import java.rmi.RemoteException; | | @Stateless | @Remote(HelloInterface.class) | @RemoteBinding(factory=RemoteBindingDefaults.PROXY_FACTORY_IMPLEMENTATION_IOR) | @IIOP(interfaceRepositorySupported=false) | public class HelloWorldBean { | | public HelloWorldBean() throws Exception {} | | public void helloWorld() throws RemoteException { | System.out.println(Hello); | } | | } | | I compiled both classes and packaged them in a jar-file HelloWorld.jar. I copied the jar file into jboss-5.0.0.Beta4/server/all/deploy and got following jboss output: | | 13:44:02,426 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:jar=HelloWorld.jar,name=HelloWo | rldBean,service=EJB3 with dependencies: | 13:44:02,457 INFO [MCKernelAbstraction] and demands: | 13:44:02,457 INFO [MCKernelAbstraction] jboss.ejb:service=EJBTimerService | 13:44:02,457 INFO [MCKernelAbstraction] and supplies: | 13:44:06,263 INFO [EJBContainer] STARTED EJB: arv.HelloWorldBean ejbName: HelloWorldBean | | JNDIView shows following entries: | | java:comp namespace of the component jboss.j2ee:jar=HelloWorld.jar,name=HelloWorldBean,service=EJB3 | : | | +- UserTransaction (class: org.jboss.ejb3.tx.UserTransactionImpl) | +- ORB[link - java:/JBossCorbaORB] (class: javax.naming.LinkRef) | +- EJBContext (class: javax.ejb.EJBContext) | +- env (class: org.jnp.interfaces.NamingContext) | +- TransactionSynchronizationRegistry[link - java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef) | | Thank you very much ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149008#4149008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ClassNotFoundException: No ClassLoaders found
Please post the output of jar -tf TimeService.jar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149009#4149009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss variable in xml - like ${my.ip}
As far as i know, JBoss will not replace these user defined properties, except for JBoss specific properties which are mentioned at http://wiki.jboss.org/wiki/JBossProperties View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149010#4149010 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149010 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: HELP, please! -- [QuerySplitter] no persistent classes f
Can U show us your code for com.fortna.wcs.security.entity.Users View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149011#4149011 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss variable in xml - like ${my.ip}
Thank you. Disappointing to know this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149012#4149012 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Unable to deserialize objects inside onmessage() method: cla
Hello This is muy first ear app and i have a weird problem. I have a EJB 3 packaged ear application (lib without explicic classpath on the manifest), with mdb, jpa, and a war module, i'm using jboss messaging 1.4.0.sp3. On the war module I subscribe to listen on a topic in asyncronous mode so when the onmessage() method is called, it's running on the jboss selected receiver thread. The problem is that a get a classnotfound expeption in the onmessage() method when deserializing an object that is on the classpath, i'm sure of that because i can do a classForName() using the thread's class loader on other part of de code that is executed in the main web thread, the one that configures and starts the topic connection. The problem is that the receiving thread who executes the onmessage() method has another context classloader, it's domain is jboss-messaging.sar not my ear application. It seems that the receiver thread is using its own class loader and that this class loader has nothing to do with my app. It doesn't sound logical to me. Any ideas? Thanks in advance Manuel Sánchez View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149017#4149017 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Need a portlet that display
Did you even read the portlet spec ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149028#4149028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - deploy from eclipse has stopped working - what is wrong - He
started having a silly problem with eclipse/jboss tools and jboss 4.2 app server I have seam project in eclipse - and it has an application.xml in the /meta-inf dir however when I deploy to the server i get the following error - This is silly as the application.xml is in the eclipse project ear - but deosent get copied. I have tried cleaning the project/stopping starting the server and copying the file into the deploy directory structure by hand (jboss doesnt seem to retry/detect the copy when i do it by hand ) anonymous wrote : | 08:32:25,406 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 53s:563ms | 08:34:00,453 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/jboss-4.2.2.GA/server/default/deploy/ForstersList-ear.ear/ | 08:34:00,453 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss/jboss-4.2.2.GA/server/default/deploy/ForstersList-ear.ear/ | org.jboss.deployment.DeploymentException: No META-INF/application.xml found | at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.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 $Proxy9.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | 08:42:09,828 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ForstersListDatasource' from JNDI name 'java:ForstersListDatasource' | 08:42:09,968 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=ForstersListDatasource' to JNDI name 'java:ForstersListDatasource' | 08:42:09,968 INFO [EARDeployer] Init J2EE application: file:/C:/jboss/jboss-4.2.2.GA/server/default/deploy/ForstersList-ear.ear/ | 08:42:09,968 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss/jboss-4.2.2.GA/server/default/deploy/ForstersList-ear.ear/ | org.jboss.deployment.DeploymentException: No META-INF/application.xml found | at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.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
[jboss-user] [JBossWS] - [JBossWS] Use WS with a different Application Server
Hello, Is it possible to use JBossWS with a different Application server than JBoss ? For example, can I use JonAS ? Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149031#4149031 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Create an eviction Region with a non empty nodeEventQueu
I've added a post on the design forum: http://www.jboss.com/index.html?module=bbop=viewtopicp=4149030#4149030 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149032#4149032 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Instance Caching
I have some trouble with choosing a commit-option in a container configuration. I have read this: http://wiki.jboss.org/wiki/en/CMPCaching?action=ewindowstate=normalmode=view But I am still wondering about which commit option to choose. I am using JBoss 4.0.5 GA. The database is SQL Server. The JBoss server is located on a different machine than the database. Every 60 seconds, the database is updated by an external process (i.e. SQL Server replication). These are my findings for every commit option. Commit option A: Not to be used because JBoss does not have exclusive access Commit option B: This runs very slow, I guess because the database is on another machine. When I use JBoss on the same machine, it runs faster. Commit option C: The same as B. Commit option D: This seemed to work fine (I set the refresh rate to 45 seconds, which is ok for our application). From time to time though, queries are very slow. This does not happen very often. Actaully I'm trying to find out about my problems with commit option D. At first I thought it was only slow after JBoss startup, but I now know that this is not the case. Every once in a while, a few queries after each other are just very slow (like more than times slower than normal). Any ideas or comments are very much appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149033#4149033 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Instance Caching
An important thing I forgot to mention: Option D also runs slow from time to time when JBoss is running on the same machine as the database! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149034#4149034 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: deploy from eclipse has stopped working - what is wrong
Are you sure the ear has the application.xml in META-INF folder (it's case-sensitive)? Post the output of the following command: jar -tf ForstersList-ear.ear View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149035#4149035 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Hiding the content of the application directory
Thanksâ a lot. Itâs working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149037#4149037 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Create an eviction Region with a non empty nodeEventQueu
anonymous wrote : | The only way I see you can solve this is to create a new empty region and move the nodes from the existing one, so that events are being created and nodes are being considered for eviction. | I thought about that solution too but this would made the nodes to lose their state. They would not keep their primitive state, are they? Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149038#4149038 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Not getting JBoss portal datasource
Hi This is Dileep, plz give me solution I am working Jboss portal, to get the connection i am using JNDI name, but it is not identyfying it, and it is giving the org.hibernate.jdbc.GenericJDBCException and sometimes connetion cant open This is mysql-ds.xml datasources local-tx-datasource jndi-nameMySqlDS/jndi-name connection-urljdbc:mysql://localhost:3306/jbossportal/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-nameroot/user-name password exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name This is Portal-mysql5-ds.xml local-tx-datasource jndi-namePortalDS/jndi-name connection-urljdbc:mysql://localhost:3306/jbossportal?useServerPrepStmts=falsejdbcCompliantTruncation=false/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-nameroot/user-name password /local-tx-datasource /datasources javax.naming.InitialContext newInitialContext= new javax.naming.InitialContext(); javax.naming.Context ctx=(Context)newInitialContext.lookup(java:comp/env); javax.sql.DataSource ds=(javax.sql.DataSource)ctx.lookup(PortalDS); java.sql.Connection conn=ds.getConnection(); System.out.println(con...+conn.getClass()); Error msg is :javax.naming.NameNotFoundException PortalDS not bound if u know the configuration then plz inform me, waiting for reply... Thank and Regards, Dilip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149027#4149027 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Create an eviction Region with a non empty nodeEventQueu
At the moment that is just not supported. Not sure we even want to support that as it might create unnecessary complications, but rather not allow creating the eviction region if the given region is not empty - I'll raise another question on the design forums on that. The only way I see you can solve this is to create a new empty region and move the nodes from the existing one, so that events are being created and nodes are being considered for eviction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149025#4149025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: how to annotate a field
Hi, Read the JavaDoc on AnnotationsAttributes at http://www.csg.is.titech.ac.jp/~chiba/javassist/html/javassist/bytecode/AnnotationsAttribute.html The first snippet gets the annotation from the method. The second snippet adds an annotation to a class - it's the same process to add an annotation to a method (call .setAttribute() on the method not the class). Michael. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149023#4149023 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: How to access JBOSS by providing IP address
thankQ Aneesh. that server.xml file is fine.. but what i want is server is running in another machine ... that machines IP address is (for ex: 192.116.25.23) now in my application i.e running in another machine, I have to use that server which is running in (192.116.25.23)like in my file i have configured like this .. Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); env.put(Context.URL_PKG_PREFIXES, =org.jboss.naming:org.jnp.interfaces); env.put(Context.PROVIDER_URL, jnp://192.116.25.23:1099); like that i need to access that server in my application. for that tell me what changes i hav to mak in that 192.116.25.23 machine... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149024#4149024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: [JBossWS] Use WS with a different Application Server
Unfortunately not without coding. You should implement our jbossws-spi integration layer to achieve that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149043#4149043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to enable drag and drop on a new portal
I also want same functionality View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149044#4149044 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: A FQN row of JDBCCacheLoader?
yes, you are right. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149048#4149048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Problem with Web service method call using JBoss Remoting Cl
Hello, I have written a web service using jboss ws. I have exposed one of methods as follows: | @WebMethod | public String getDevDetails(@WebParam(name=dev) String devName) | { | String devDetails = null; | try | { | if(null != devName) | { | devDetails = genericAccess.getDeviceDetails(devName); | } | } | catch (DAOException e) | { | e.printStackTrace(); | } | return devDetails ; | } | | Now in the above method instead of returning a string object i want to return a user defined object of type DeviceDetails say devObj as follows. | @WebMethod | public DeviceDetails getDevDetails(@WebParam(name=dev) String devName) | { | DeviceDetails devObj = null; | devObj = access.getDevDetails(devName); | | return devObj; | } | How do i achieve this ? And my client code makes use of jboss remoting apis to invoke the above method. | InvokerLocator locator = new InvokerLocator(protocol + host_address + port); | if(null == remotingClient) | { | remotingClient = new Client(locator); | } | remotingClient.connect(); | Object response = remotingClient.invoke(soapMessage); | Here the response i get is SOAP response. But i am expecting an object of type DeviceDetails as a response. How do i achieve this ? Someone please help me .. :( Thanks R.Naik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149058#4149058 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - JBoss AOP in an Eclipse plugin
I developed a plugin (say A) for Eclipse 3.3 contains some aspects (by annotation approach) Other plugin (say B) need to be instrumented by aspects defined in plugin A. I try to apply weaving at load time by javaagent, and to compile plugin B using aopc ant task. In the last case bytecode is correctly instrumented but in any case the interceptors are not called. If I merge code in the same plugin it works. I suppose there are some issues related to eclipse classloading mechanism. Note: I configure the plugin A with Eclipse-BuddyPolicy: registered and plugin a with Eclipse-RegisterBuddy: pluginA_Symbolic_name View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149062#4149062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Extra divs in divRenderer
Hi, I'm using divRenderer as my RenderSet. In html source I have noticed that for every portlet on page two unnesasery divs are added after portlet title. Those divs were added to 2.6 branch in January, but in 2.7 branch were removed in April. Is there any possibility that those divs will be removed from 2.6 branch in next release, or should I prepare to remove those divs from code manually in every release till 2.7 ? The code responsible for those divs is in org.jboss.portal.theme.impl.render.div.DivDecorationRenderer and is commented as End the dyna-handle early so it doesn't encompass the mode container - View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149063#4149063 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Could not restore ejb timers
Hi, Did you got a solution for your problem? Thanks F. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149064#4149064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Could not restore EJB timers error
Hi, did you got a solution for your problem? Thanks F. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149065#4149065 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: How to access JBOSS by providing IP address
Priya, As already mentioned by aneesh in his first post, all you have to do is start the server (on 192.116.25.23) using the -b 0.0.0.0 option. Like this: run.bat -b 0.0.0.0 See this for more details http://wiki.jboss.org/wiki/JBoss42FAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149066#4149066 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: How to access JBOSS by providing IP address
What do u want is to access any resource in your server from a client application? Or are you not able to access the apllications from another machine connected to it from the browser by giving the ip http://ipaddress? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149067#4149067 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - JNDI Security problem
Hi, I have developed an EJB 3.0 application using JNDI security. I have registered my policy in login-config.xml kept inside my source folder. I am fetching user roles data from DB. So I am getting exception 16:59:15,143 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315) at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200) at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127) 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:597) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603) at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344) at org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:123) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:66) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) 16:59:15,236 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315) at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200) at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127) 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:597) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603) at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537) at
[jboss-user] [JBoss Portal] - Re: Extra divs in divRenderer
iirc it has been removed from 2.6 Branch View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149073#4149073 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149073 ___ 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 suggestions. We are on the way to fix all those bugs. But, a minor issue observed by me when clustering a sample application like Hello world. When the 2 cluster nodes are running and when one of them which is interacting with the browser currently(at that time) suddenly fails, until the other one is about to receive this status, the application is not being focussed to be clustered well. Of course, it is a very minute period. But the target of clustering is that, the end user must not identify the switching of the server.. Let me know if any alternative for this, like the server which is not currently active may take some secondary back up, so that, it may act immediately, keeping the customer transperant about this switching. Thank you. Praveena, Securview. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149074#4149074 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Extra divs in divRenderer
I just checked, it has been removed from 2.6 Branch already (so it will be in the coming 2.6.5) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149075#4149075 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to enable drag and drop on a new portal
You can enable it from the admin portlet, check the ref documentation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149076#4149076 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Is there is any default Jndi name to use
javax.naming.InitialContext newInitialContext= new javax.naming.InitialContext(); javax.naming.Context ctx=(Context)newInitialContext.lookup(java:comp/env); javax.sql.DataSource ds=(javax.sql.DataSource)ctx.lookup(java:MySqlDS); java.sql.Connection conn=ds.getConnection(); is ther is any default ds to get the connetion ref.. which jndi name I have to use to get the Datasource regards, dilip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149082#4149082 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JNDI Security problem
If you want to package the policy in your own login-config.xml then you will have to follow the steps mentioned at http://wiki.jboss.org/wiki/DynamicLoginConfig View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149083#4149083 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Oracle Datasource not bound to JNDI
I am also having he same error i am configuring Jboss portal with mysql if any solutioon than give me info.to this [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149084#4149084 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - advice needed, simultaneously active tasks where there is no
Hi guys, I am writing to ask for advice or help. We have gone live with JBPM 3.2.1 with a large client, and are suddenly, (or at least have just noticed) that multiple tasks are listed as existing simultaneously where there is no fork. This is happening across several of our processes. A user will submit his or her task, and instead of just flowing to the next task, in sequence, several are then created and listed as not started. We have run this application for several months now, but load has recently really picked up as phase two of the project has gone live. Has anyone else seen anything like this, or does anyone have any theories? Thanks in advance for your help. PS we have deployed to Mysql 5, and are running the webapp on tomcat 5.0.28. Regards Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149085#4149085 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: advice needed, simultaneously active tasks where there i
This could be because your tasks are not blocking... Or i miss understand your problem... Look in this direction... anonymous wrote : Task instances can be blocking, meaning that the related token (=path of execution) is not allowed to leave the task-node before the task instance is completed. from http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149086#4149086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149086 ___ 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.1.0.CR1 released
http://jira.jboss.com/jira/browse/JBIDE-2187 which Snjezana apparently already fixed. I wonder why I don't see that on windows... About RF 3.2.x then i'm not sure that can make it in. We did not have any push for it in jira and it was released a few days after our feature freeze. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149087#4149087 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149087 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Endpoint already registered
I placed the following request for information in the JBoss Tools forum and they refered me to JBossws. I hope someone can help me with this issue. I am using Eclipse 3.3 and JBoss Tools Core 2.0.1.GA. I created a SEAM Web service (TestWs) which runs correctly. I start JBoss Server from the JBoss Server View. I check the console and I can find a reference to my TestWs Web service. I make some changes to my Web service and then right click on my moduel (within by JBoss Server view) and do a full publish of that service again. This time I do not see a reference to my web service. I'm using the Eclipse web service explorer to test my web service. When I try to use it again (after the changes and the redeploy) I get a could not create deployment - endpoint already registered error (see below). If I completely shutdown Eclipse, reopen and start JBoss Server again it works fine but after the first test (in debug mode) it will get the same message again and I will have to shut down and restart Eclipse again. This is very time consuming and any help would be greatly apprecaited. 11:46:59,969 ERROR [MainDeployer] Could not create deployment: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/ java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=PSDynamicWebProject,endpoint=TestWs at org.jboss.wsf.framework.management.DefaultEndpointRegistry.register(DefaultEndpointRegistry.java:89) at org.jboss.wsf.framework.management.ManagedEndpointRegistry.register(ManagedEndpointRegistry.java:59) at org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.create(EndpointRegistryDeploymentAspect.java:46) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:79) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) 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 $Proxy54.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.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 $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149088#4149088 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Classloading with jboss_app.xml
Hi, Am using Jboss5.0 Beta4 . I have two EJB's -e1 and e2 deployed and trying to lookup from one to another. e2 interafce is in \server\all\lib directory. and e1 is doing lookup to e2. Am also using jboss_app.xml so that jboss will first loads jars from my EAR e1 instead of server\all\lib. It does gets jars from my ear instead of server lib. | jboss-app | loader-repository | com.avaya:archive=Scheduler.ear | /loader-repository | /jboss-app | | Lookup is also sucessful. but I need to do another validation if e2 has implemented one of my interface com.my.job Interface. com.my.job is present in server\all\lib. Am using below logic to check this . | job.class.isAssignableFrom(e2) should return true. Now this works fine on WAS6.1.It works fine with jboss5.0 also IF e2 interface (not its implementation class ) is part of e1 ear i.e bundled together But when I move this interface out of ear and put it in server\all\lib , lookup is sucessful but isAssugableFrom fails ! This looks like wrong algorithm of isAssignableFrom. Hope this isnt confusing .. Can anyone help me with this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149091#4149091 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - You have not defined a jta-data-source for a JTA enabled per
When I am triing to deply the persistence.xml into jboss 4.2.2 GA, I am getting following exception: Reason: java.lang.RuntimeException: You have not defined a jta-data-source for a JTA enabled persistence context named: adminPU persistence.xml is something like this: persistence-unit name=adminPU persistence-unit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149094#4149094 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: You have not defined a jta-data-source for a JTA enabled
Since you are deploying this in a container managed environment, you will have to configure the persistence.xml to use a jta datasource. See this for more details http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/entityconfig.html. It has a sample persistence.xml which uses jta-data-source View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149095#4149095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to save sessions when reloading web app?
I have found a solution you have to edit this file: .deploy/jboss-web.deployer/contex.xml to enable or To enable session persistence for a single web app, add a WEB-INF/context.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149096#4149096 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149096 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - How to see classpath jars from jmx-console
Hi, Have a very basic question about jmx-console. Am using JBOSS5.0 Beta4 . Have an ear deployed on it. I would like to see what the jars present in classpath of this ear. Have see JNDI view listinvoke. it displays the ejb but i need to see some more classloading information about this ear is it avaiable in console ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149097#4149097 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: You have not defined a jta-data-source for a JTA enabled
Hi Jai, I do not want use datasource to connect the database, but want to use the JDBC properties to connect the database. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149098#4149098 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: advice needed, simultaneously active tasks where there i
Hi, all of our tasks are signalling, so when they are completed process execution is continued. What is interesting here is that we are almost certain that the task has not been 'submitted', yet a subsequent task has also been created and is in the 'not started' state simultaneously. Thanks for the pointer though. Any other ideas ? Regards Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149099#4149099 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: JBoss AOP in an Eclipse plugin
I solved by myself. There was a mismatch in -Djboss.aop.class.path argument. BuddyPolicy mechanism of Eclipse works fine. ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149100#4149100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Need a portlet that display
In your jsp layout you can use the following : | div id='dashboardnav' | p:region regionName='dashboardnav' regionID='dashboardnav'/ | /div | But this generates an html/ javascript error. In addition, this is undocumented. It it adds a few things related to the dashboard thing. A similar thing is used for the navigation tabs. You can write a portlet with no decoration (empty renderers) to produce the DIVs you need and use CSS styles to place it on the page. To write your own portlet you can start with examples. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149109#4149109 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: a4j bridge
hi, i have the same problem, have you found a solution? I got it trying to use a custom class that override portlet life cycle methods (doView, processAction) doing something before to call the parent methods... nothing special My env jboss portal 2.6.4 (boundled with jb as) richfaces 3.2.0GA portletbridge 1.0.0 B2 thanks to anyone suggests a solution View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149110#4149110 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Classloading with jboss_app.xml
Looks like its classloders issue. com.my.job interface is loaded by one classloader and e2 by another. What could be solution for this ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149112#4149112 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Several portlets sharing one bean
environment: JBOSS 4.0.5.GA PostGreSQL MyFaces 1.1.5. RichFaces 3.1.2 I have a complete web application packed in a WAR file that includes a BackBean, one jsp, and a portlet with all descriptors files.This application is just a table (HtmlDataTable) with pagination and with different ModalPanels to edit(create, delete...) one kind of object. Now I wanna reuse this table in other portlets with other kind of objects but the way I do is wrong. I think I'm just calling same instance of the backbean from all portlets. What I want is call totally different instances of the backbean packed in the war file in order to get two DataTables managing different objects and totally independents in two differents portlets but in the same portal. Thank you very much for any help. Frank This is a copy of the descriptor files packed in the war file: portlet #1 -- custom-object.xml page-nameData Management/page-name window-nameSdo/window-name instance-refSDOPortletInstance/instance-ref left 600 portlet-instances.xml instance-idSDOPortletInstance/instance-id portlet-refSDOPortlet/portlet-ref portlet.xml portlet-nameSDOPortlet/portlet-name portlet-classde.modules.sdo.SDOPortlet/portlet-class init-param default-view /sdo.jsp /init-param .. portlet #2 -- custom-object.xml page-nameData Management/page-name window-nameSdo/window-name instance-refSDOPortletInstance2/instance-ref left 600 portlet-instances.xml instance-idSDOPortletInstance2/instance-id portlet-refSDOPortlet/portlet-ref portlet.xml ... NO REFERENCE TO THE SDOPortlet . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149113#4149113 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Create an eviction Region with a non empty nodeEventQueu
I'm confused - how are you creating the eviction region? Isn't this in the XML config file (or Configuration object), which means the region will be created when the cache starts up? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149117#4149117 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: MulticastDetector crashes my network
I have developed a CustomMulticastDetector in order to solve my problem. Debugging JBoss Remoting code, I have seen that MulticastDetector has implemented a listener behavior without time delay [ while(running) { ... } // running = true ]. My CustomMulticastDetector introduces this missing delay (using Timer and TimerTask) and it doesn't run! My client detects when some server has been launched, but not when has got down! Is fast-multicast necessary for correct operation? Thanks again! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149120#4149120 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ClassNotFoundException: No ClassLoaders found
jar -tf TimeService.jar META-INF/ META-INF/MANIFEST.MF TimeServiceBean.class TimeServiceRemote.class META-INF/persistence.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149122#4149122 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Classloading with jboss_app.xml
Gitu wrote : | | But when I move this interface out of ear and put it in server\all\lib , lookup is sucessful but isAssugableFrom fails ! | | Why do you want to move your interface to the server\all\lib? Also, read through these classloader related documents: http://wiki.jboss.org/wiki/JBossClassLoadingUseCases http://wiki.jboss.org/wiki/ClassLoadingConfiguration View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149123#4149123 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: ClassNotFoundException: No ClassLoaders found
As can be seen, the packaging is wrong. The TimeServiceBean.class and belong to TimeServiceRemote.class com.boeing.nmt.ejb3 package. So the TimeService.jar should look like: | TimeService.jar | | | |--- META-INF | | | | | |--- MANIFEST.MF | | |--- persistence.xml | | | | | |--- com | | | | | |--- boeing | | | | | | | |--- nmt | | | | | | | | | |--- ejb3 | | | | | | | | | | | |--- TimeServiceBean.class | | | | | |--- TimeServiceRemote.class | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149127#4149127 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149127 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: How to see classpath jars from jmx-console
yuo run jmx-console you see jboss.web go click on J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/tuawebapps View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149130#4149130 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149130 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Create an eviction Region with a non empty nodeEventQueu
I have a requirement in my application that forces me to create eviction policies to regions once the whole system is running (that is, the cache has already started and is runnning properly). What I am triying to do is to configure an eviction policy programatically. Here is how I am doing it: public final void addEvictionPolicy(EvictionPolicy evictionPolicy, EvictionConfiguration evictionConfig, String fqn) |{ | // Activate eviction Policies | RegionManager regionMgr = getUnderlyingTreeCache().getEvictionRegionManager(); | if (regionMgr.hasRegion(fqn)) { | Region region = regionMgr.getRegion(fqn); | region.setEvictionConfiguration(evictionConfig); | logger.debug(Region[{}] configured with {}, fqn, evictionPolicy); | } else { | evictionPolicy.configure(getUnderlyingTreeCache()); | try { | regionMgr.createRegion(fqn, evictionPolicy, evictionConfig); | } catch (RegionNameConflictException e) { | logger.error(Region Name conflict, e); | } | logger.debug( | Region[{}] does not exist in RegionManager. Created and configured with {}, | fqn, evictionPolicy); | } |} I do not know if there is a better way to create an eviction policy dinamically. Does any one know how to do it properly? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149131#4149131 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: How to access JBOSS by providing IP address
Hi Kiran,,.. dats fine like that i can access my server with ip address.. But in my program how can i configured that JBOSS configuration. if the Server is running in my machine i can provide the following code and it works fine Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); env.put(Context.URL_PKG_PREFIXES, =org.jboss.naming:org.jnp.interfaces); env.put(Context.PROVIDER_URL, jnp://localhost:1099); But if i'm using the server which is running in another machine then how can i configure that server. if i tried like below it shows an error env.put(Context.PROVIDER_URL, jnp://192.116.23.25:1099); So plz tell me or post the code and tell me what configuraion (if required) i have to make in the server machine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149133#4149133 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Contributing a New Document to JBPM Community
I just came across this post. Sorry for my being late :-) Anyway, kudos for this effort and a real big thank you. I created a new wiki page here: http://wiki.jboss.org/wiki/JbpmContributedDocs and included your contribution on it. It might be a good idea to include such a document in the distribution right away. As we are going to release jBPM 3.2.3 soon, this might need some editing. Also, it would be necessary to include the sources for the pdf, to allow the community to perform the necessary changes. Would you be interested in doing this? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149136#4149136 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to save sessions when reloading web app?
OK that is the file thank you! I just swapped the lines that said , and we are cooking. thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149137#4149137 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to save sessions when reloading web app?
ok they stripped my xml i swapped Manager pathname= / with Manager pathname=SESSIONS.ser / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149138#4149138 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: mod_jk - Broken Pipe error
Did you find any solution for the issue. We are having same issue. THanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149140#4149140 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: small GPD tutorial
Hi Alexey, Thanks for this contribution. I included a link to your tutorial from our wiki: http://wiki.jboss.org/wiki/JbpmContributedDocs Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149141#4149141 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: deploy from eclipse has stopped working - what is wrong
cant do this i dont think - i cant find an xxx.ear file thats generated in my source tree project eclipse+jboss tools seems to be doing an exploded directory deploy. the application.xml is in my source tree - but isnt copied into the deployment exploded dir structure in the jboss deploy directory. my structure in source looks like | eclipse workspace |project | xxx-ear ( dircectory) | ... | EarContent | META-INF |application.xml |jboss.xml | seam varied jars... | | xxx (war directory) | xxx-ejb (directory) | this is replicated in exploded format on the sever but no application.xml is published i cant find an ear file in the source tree View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149142#4149142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: accessing Jboss from intranet
Yes we changed the port numbers from the default 8080; We thought IIS might be intefering with JBoss so we disabled it completely and set JBoss to use port 80: From another machine, typing in http://ip address:80 gives us the same Page cannot be displayed error as before. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149145#4149145 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: shared class for two webapps
lcurros wrote : Solved. | The way I used works fine. I had a packaging error and I have put the class inside one of the app content so this was the reason way It didnt work Hi, could you be more specific about the problem that you had? We have a very similar situation where we have a single EAR file which contains APPEJB.jar - this .jar uses struts.jar which is referenced in a seperate project. Inside this .EAR file we also have the webcontent.war - this .war naturally also references struts.jar - (we've tried both by having struts.jar in the WEB-INF/libs and by referencing the same external project as APPEJB.jar) - when we try and pass a LabelValueBean from the EJB to the webApp we get a ClassCastException. I'm assuming this is because it's getting confused as to which class to use (even if they both reference the same .jar) - how should we package struts.jar in this case (or pass objects between the two sides). I've checked the JMX console for org.apache.struts.util.LabelValueBean and it only shows 1 instance being loaded (from the .war file if packaged in there or from the ear if packaged in the common 3rd project) We are trying to migrate a legacy application away from Websphere and onto jBoss and this is the last issues that we are struggling with. Any pointers would be gratefully received. Thanks Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149147#4149147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Need help to configure security with Seam and EJB3
Hi, I desperately try to enable security on EJB3 session beans called from Seam components, but I can't find how to do this. When I try to call EJB3 session bean, I have a Authentication failure error. It's hard to find clear documentations about this on the web, so I hope someone will help me here ... Note I just want to authenticate for the moment, I don't want to use roles based authorization because it won't be enough for my needs. My app is an EAR with two jars : - one with EJB3 session beans - one with Seam components (EJB3, not pojos) The problem appears when I call secured EJB3 session beans from a Seam component. Here is what I did for the moment : In my EJB3 session beans jar : One example of a EJB3 session bean ... META-INF/jboss.xml : session | ejb-nameServiceBaseEmployeBean/ejb-name | security-domaint4Seam/security-domain | /session META-INF/ejb-jar.xml : session | description | ![CDATA[ | | ]] | /description | ejb-nameServiceBaseEmployeBean/ejb-name | remotet4.core.employe.facade.ServiceBaseEmployeRemote/remote | localt4.core.employe.facade.ServiceBaseEmployeLocal/local | ejb-classt4.core.employe.facade.ServiceBaseEmployeBean/ejb-class | session-typeStateless/session-type | transaction-typeContainer/transaction-type | /session In the EAR : META-INF/jboss-app.xml : ?xml version=1.0 encoding=UTF-8? | !DOCTYPE jboss-app | PUBLIC -//JBoss//DTD J2EE Application 1.4//EN | http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd; | jboss-app | module | serviceMETA-INF/t4Seam-login-service.xml/service | /module | /jboss-app META-INF/t4Seam-login-service.xml : ?xml version=1.0 encoding=UTF-8? | server | mbean code=org.jboss.security.auth.login.DynamicLoginConfig |name=t4Seam:service=DynamicLoginConfig | attribute name=AuthConfigMETA-INF/t4Seam-login-config.xml/attribute | depends optional-attribute-name=LoginConfigService | jboss.security:service=XMLLoginConfig | /depends | depends optional-attribute-name=SecurityManagerService | jboss.security:service=JaasSecurityManager | /depends | /mbean | /server META-INF/t4Seam-login-config.xml : ?xml version=1.0 encoding=UTF-8? | !DOCTYPE policy PUBLIC | -//JBoss//DTD JBOSS Security Config 3.0//EN | http://www.jboss.org/j2ee/dtd/security_config.dtd; | policy | application-policy name=t4Seam | authentication | login-module code=org.jboss.seam.security.jaas.SeamLoginModule flag=required | /login-module | login-module code=org.jboss.security.ClientLoginModule flag=required | module-option name=restore-login-identitytrue/module-option | module-option name=multi-threadedfalse/module-option | /login-module | /authentication | /application-policy | /policy In Seam components JAR : META-INF/components.xml : security:identity | authenticate-method=#{authenticator.authenticate} | jaas-config-name=t4Seam / | My Seam authenticate method (there is no security on compteUtilisateurDao EJB) : @javax.ejb.EJB | private CompteUtilisateurDao compteUtilisateurDao; | | public boolean authenticate() | throws java.lang.Exception | { | String username = Identity.instance().getUsername(); | String password = Identity.instance().getPassword(); | CompteUtilisateur utilisateur = compteUtilisateurDao.findByUsernameAndPassword(username, password); | return (utilisateur != null); | } And the code calling the EJB3 session bean from a Seam component : @javax.ejb.EJB protected ServiceBaseEmployeLocal serviceEmploye; | | @javax.ejb.TransactionAttribute(javax.ejb.TransactionAttributeType.REQUIRES_NEW) | @org.jboss.seam.annotations.Factory(value = employes) | @org.jboss.seam.annotations.Observer(employeUpdated) | public void getEmployes() throws java.lang.Exception | { | this.employes = this.serviceEmploye.loadAllEmployes(); | } What I saw in traces is that both SeamLoginModule and ClientLoginModule are called and run OK. But it looks like the JAAS subject is not propagated to EJB layer, while it is (for what I understood) the goal of ClientLoginModule. Anyone has an idea what I do wrong ? Maybe I forgot some config files or misunderstood something with JBoss Security ? Thanks in advance, Olivier View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149149#4149149 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Need help to configure security with Seam and EJB3
Forgot to tell I work with JBoss 4.2.0.GA. I also use JBoss SX 2.0.1.GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149150#4149150 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - war inside war
I have a web application (the security module) which has its screens of administration and would like to transform it into an optional module of other web applications. So can I have or not the security module in my new applications, how do this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149153#4149153 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Is clustering possible for JBoss.org community edition?
Hi, I'm new to JBoss. I've installed one instance of JBoss.org (jboss-4.0.2) and deployed a web application. The web app is a critical application and accessed by to many persons. I'd like to know if it's possible to install 2 instances of JBoss (community edition) in cluster on 2 different servers with a load balancer. Thanks a lot. John M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149155#4149155 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: accessing Jboss from intranet
What do the following commands output when run from that remote system: telnet ipaddress 1099 telnet ipaddress 80 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149157#4149157 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - trying to migrate an ear from jboss 3.2.5 to 4.0.5
hi.. i'm trying to port an ear i have in jboss 3.2.5 to jboss 4.0.5, right from the start i had NoSUchMethodException when the commons logging in the ear conflicted with jboss's 4, so i create a jboss-app.xml: jboss-app loader-repository com.pnx:archive=pmp.ear loader-repository-config java2ParentDelegation=false /loader-repository-config /loader-repository /jboss-app but not i get java.lang.NoSuchMethodException: org.jboss.ejb.StatelessSessionContainer.removeHome(javax.ejb.Handle) why do i have to do for this to work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149158#4149158 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Is clustering possible for JBoss.org community edition?
Yes, clustering is fully supported. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149160#4149160 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: deploy from eclipse has stopped working - what is wrong
So looks like the EAR deployed through the IDE is incorrect. I don't have any experience with using IDE for deploying the application. Maybe someone who has worked with Eclipse + JBoss will be able to help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149159#4149159 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Classloading with jboss_app.xml
I want to move this interface out of ear as this Interface is actually stub of e2 and will be provided by other module. I am aware of its JNDI details so that I can perform a lookup. It cant be bundled along with my ear. e2 module owner will place it in server\all\lib directory. Since lookup is sucessful , its able to find e2 , but as these are loaded by different classloader , isAssignableFrom (algorithm) is failing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149162#4149162 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - DayTrader deployment on JBOSS
HI all, IâÂÂm facing difficulties trying to deploy DayTrader in Jboss Server. Below are the version of daytrader and Jboss I have tried(for weeks). DayTrader DayTrader â revision no:416929 (managed to built it using Maven 2) DayTraderâ revision no:553607 (managed to built it using Maven 2) Jboss jboss-4.0.3 â server: default jboss-4.0.3SP1 jboss-4.0.4.GA jboss-4.0.5.GA jboss-4.2.0.GA Background: Operating System : WINDOWS XP Professional I am using MySQL as DB (I followed exact instruction given by DayTrader) I have spent weeks to try all the above DayTrader versions, Jboss versions but to no avail. Any kind souls out there can help me on this? Any hints/suggesting will be appreciated. Below are the error message encountered when deploying the DayTrader ear file. 19:59:17,176 INFO [EARDeployer] Init J2EE application: file:/D:/FYP/jboss-4.0.3/server/default/deploy/daytrader-ear- 1.1.ear 19:59:17,297 WARN [MainDeployer] Found non-jar deployer for wsappclient.jar: [EMAIL PROTECTED] 19:59:17,656 WARN [MainDeployer] Found non-jar deployer for wsappclient.jar: [EMAIL PROTECTED] 19:59:17,749 ERROR [MainDeployer] Could not start deployment: file:/D:/FYP/jboss- 4.0.3/server/default/tmp/deploy/tmp36181daytrader-ear-1.1.ear- content s/dt-ejb.jar org.jboss.deployment.DeploymentException: expected one display-name tag at org.jboss.metadata.MetaData.getUniqueChild (MetaData.java:98) at org.jboss.metadata.MetaData.getUniqueChildContent (MetaData.java:291) at org.jboss.metadata.ClientMetaData.importClientXml (ClientMetaData.java:126) Let me know if you need any further input from me. It would be good to advise which DayTrader svn revision and Jboss version to use. Thanks in advanced! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149163#4149163 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: trying to migrate an ear from jboss 3.2.5 to 4.0.5
You probably are packaging JBoss related jar files (ex: jboss.jar) in your application. If so, then remove them from your application EAR. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149167#4149167 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Define interportlet communication listener
Hi to all i need a hand about the configuration of a jboss portal event listener, useful for creating a portlet A that communicates with a portlet B sending some parameters that the second potlet receive and use. well, i have written all classes, but i can't make the listener work because the server consolle returns an error of type: java.lang.ClassNotFoundException: No ClassLoaders found for: ch.teamlab.ristur.demo.RisTurJsp$Listener can you help me to fix this bug please? i have some other questions too: 1) in order to execute the portlet method processAction() is necessary that a client submit an html form? 2) the signature of the method onEvent() , into the listener definition, exists in two different flavours, one i have found in the jboss portal reference guide(chapter 12) , and another a different manual(chapter 6) public PortalNodeEvent onEvent(PortalNodeEventBubbler bubbler, PortalNodeEvent event) public PortalNodeEvent onEvent(PortalNodeEventContext context, PortalNodeEvent event) the main difference is the type of the first parameter passed to the method: a class of type PortalNodeEventBubbler in one case and PortalNodeEventContext in the other : what are the differences beetween this 2 approaches and witch one works better? thank you very much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149170#4149170 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149170 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how to function jbpm in network????
hi, how I can function the application carried out with jboss jbpm in network, any help will be welcome View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149172#4149172 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Jboss Seam Skeleton App exporter not visible
Hi I am using eclipse 3.2.2 and the latest release of jboss tools (nightly build JBossTools-200804281623-nightly-ALL-macosx-carbon.zip). I am using a mac for my development. I followed the steps to generate the Jboss Seam Skeleton App as described in http://www.jboss.com/products/seam/SeamHBTools.html but in the exporters tab in the hibernate code generation wizard I don't see the option Jboss Seam Skeleton App [Beta] (misc). Am I missing something. Please advice. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149174#4149174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Error deploying a war on metro
Did you find a solution yet? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149175#4149175 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149175 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: How to see classpath jars from jmx-console
But this doesnt list all jars which are in application classpath. Also my unit is an EAR not war View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149176#4149176 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - VPE of 2.1.0.CR1 on x86_64
Hi, I installed a new dl of x86_64. http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/europa/winter/eclipse-jee-europa-winter-linux-gtk-x86_64.tar.gz Then I updated with the given development update site link. Then I added the patches. But clicking a xhtml file i get: Bundle org.mozilla.xulrunner.gtk.linux.x86_64 is not found. eclipse.buildId=M20080221-1800 Mozilla XPCOM For Java is there (I don't know if this is the Xulrunner) thanks a lot. some plugins: org.jboss.tools.jsf.vpe.adf (2.1.0.CR1) ADF support for JBoss Visual Page Editor Plug-in [Resolved] org.jboss.tools.jsf.vpe.ajax4jsf (2.1.0.CR1) Ajax4jsf VPE Plug-in [Starting] org.jboss.tools.jsf.vpe.facelets (2.1.0.CR1) Facelets Plug-in [Starting] org.jboss.tools.jsf.vpe.jsf (2.1.0.CR1) JSF support for JBoss Visual Page Editor Plug-in [Starting] org.jboss.tools.jsf.vpe.myfaces (2.1.0.CR1) MyFaces support for JBoss Visual Page Editor Plug-in [Starting] org.jboss.tools.jsf.vpe.richfaces (2.1.0.CR1) Richfaces VPE Support Plug-in [Starting] org.jboss.tools.jsf.vpe.seam (2.1.0.CR1) Seam VPE support Plug-in [Starting] org.jboss.tools.jsf.vpe.tomahawk (2.1.0.CR1) Tomahawk VPE Support Plug-in [Starting] org.jboss.tools.jst.firstrun (2.1.0.CR1) JBoss AS Initialization Plug-in [Active] org.jboss.tools.jst.jsp (2.1.0.CR1) Jsp Editor Plug-in [Active] org.jboss.tools.jst.server.jetty (2.1.0.CR1) Jetty Generic Server Definition Plug-in [Starting] org.! jboss.tools.jst.server.jrun (2.1.0.CR1) JRun Generic Server Definition Plug-in [Starting] org.jboss.tools.jst.server.resin (2.1.0.CR1) Resin Generic Server Definition Plug-in [Starting] org.jboss.tools.jst.web (2.1.0.CR1) Web [Active] org.jboss.tools.jst.web.debug (2.1.0.CR1) Web Debug [Starting] org.jboss.tools.jst.web.debug.ui (2.1.0.CR1) Web Debug UI [Starting] org.jboss.tools.jst.web.tiles (2.1.0.CR1) Web Tiles [Active] org.jboss.tools.jst.web.tiles.ui (2.1.0.CR1) JBoss Tools Tiles [Starting] org.jboss.tools.jst.web.ui (2.1.0.CR1) Web UI [Active] org.jboss.tools.jst.web.verification (2.1.0.CR1) WEB Verification [Active] org.jboss.tools.seam.core (2.1.0.CR1) Seam Core Plug-in [Active] org.jboss.tools.seam.text.ext (2.1.0.CR1) Seam Text Editors Extensions [Starting] org.jboss.tools.seam.ui (2.1.0.CR1) Seam GUI Tools [Active] org.jboss.tools.seam.xml (2.1.0.CR1) JBoss Tools Seam XML [Active] org.jboss.tools.seam.xml.ui (2.1.0.CR1) Seam XML [Star! ting] org.jboss.tools.struts (2.0.0) org.jboss.tools.struts [Active] org.jboss.tools.struts.debug (2.1.0.CR1) Red Hat Struts Debugger [Starting] org.jboss.tools.struts.text.ext (2.1.0.CR1) Struts Text Editors Extensions [Starting] org.jboss.tools.struts.ui (2.1.0.CR1) JBoss Tools Struts UI [Active] org.jboss.tools.struts.validator.ui (2.1.0.CR1) JBoss Tools Struts Validator [Starting] org.jboss.tools.struts.verification (2.1.0.CR1) Struts Verification [Active] org.jboss.tools.struts.vpe.struts (2.1.0.CR1) Struts support for JBoss Visual Page Editor Plug-in [Resolved] org.jboss.tools.vpe (2.1.0.CR1) Visual Page Editor [Active] org.jboss.tools.vpe.html (2.1.0.CR1) HTML support for JBoss Visual Page Editor Plug-in [Starting] org.jboss.tools.vpe.jsp (2.1.0.CR1) JSP support for JBoss Visual Page Editor Plug-in [Starting] org.jboss.tools.vpe.ui.palette (2.1.0.CR1) JBoss Tools Palette [Starting] org.jboss.tools.vpe.xulrunner (2.1.0.CR1) Browser (XULRunner) Plug-in [Active] org.jbpm.gd.jpdl (3.1.3.CR1) JBoss jBPM JPDL Designer! Plug-in [Starting] org.junit (3.8.2.v200706111738) JUnit Testing Framework [Resolved] org.junit4 (4.3.1) JUnit Testing Framework Version 4 [Resolved] org.mortbay.jetty (5.1.11.v200706111724) Jetty WebServer [Resolved] org.mozilla.xpcom (1.8.1.3-20070904) Mozilla XPCOM For Java [Resolved] org.uddi4j (2.0.5.v200706111329) UDDI4J [Resolved] I also have this on my computer, as the wiki said: /usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5.0.7 /usr/lib64/libstdc++.so.5 /usr/lib64/libstdc++.so.5.0.7 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149179#4149179 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Having trouble with OneToOne with PrimaryKeyJoinColumn
any news on this...i`m struggling with the same thing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149182#4149182 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - No 'jboss' MBeanServer found!
Hi, I am new in JBossTomcat, i am using jboss-4.0.3SP1 version. When i am to execute following line of code from jsp:- MBeanServer server = org.jboss.mx.util.MBeanServerLocator.locateJBoss(); it is giving following exception:- java.lang.IllegalStateException: No 'jboss' MBeanServer found! at org.jboss.mx.util.MBeanServerLocator.locateJBoss(MBeanServerLocator.java:110) at org.apache.jsp.JSP.Cpi_jsp._jspService(org.apache.jsp.JSP.Cpi_jsp:54) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:534) --- Please some one help me on this. Is there any configuration that i have to done any of the xml config file. Waiting for earliest reply. Thanks Regards, Jyotisree View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149183#4149183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - @XmlMimeType(
Hi all, I am using Revision: jbossws-3.0.1-native-2.0.4.GA and trying to get attachments to work. I have no problems running the XOP test case but when I try to write my own service I always have the same problem. When I deploy my WAR the ns1:expectedContentTypes is always application/octet-stream even though I specify @XmlMimeType(text/plain) in the code. My end-point code is as follows: | package eas.attachment; | import java.io.IOException; | import javax.activation.DataHandler; | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.xml.bind.annotation.XmlMimeType; | import javax.xml.ws.BindingType; | import javax.xml.ws.WebServiceException; | | @WebService(name = EASEndpoint, serviceName = EASEndpointService) | @BindingType(value = http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true;) | public class EASEndpointImpl implements EASEndpoint { | | @WebMethod | @XmlMimeType(text/plain) | public DataHandler fileUpload(@XmlMimeType(text/plain) DataHandler data) { | try { | System.out.println(Recv + data.getContentType()); | System.out.println(Content is + data.getContent()); | return new DataHandler(Server data, text/plain); | } | catch (IOException e) { |throw new WebServiceException(e); | } | } | } | The code is almost identical to the WrappedEndpoint in the sample code - if I am missing something, I can't see it!!! I can confirm that the wsdl for the WrappedEndpoint does include what you'd expect - ns1:expectedContentTypes=text/plain so why doesn't mine? Can anyone help? I am now stepping through the JBossWS source code to determine the source of this problem and will report any findings... Thanks, Paul Drummond View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149184#4149184 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Hi, anyone know how to reverse to a previous task
Hi all, a quick question I have not poked too deep into the database yet, but does anyone know which fields I need to alter in which tables if I want to reverse to a prior task, so that the user can resume from that earlier task, and transition correctly through the rest of the process as they wish? Thanks in advance for your help Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149186#4149186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: No
Ok, thank you very much. It helped me! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149190#4149190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - jboss-client.jar really needed for Tomcat?
Hi, Sorry for this question which is probably extremely basic, but I'm just trying to understand what's going on under the hood. I have a servlet running inside a standalone Tomcat 6.0.14 instance. From this servlet I would like to connect to a Jboss 4.2 EJB container to either send a message to a JMS topic, or to retrieve an EJB bean. Since Tomcat already provides a JNDI implementation, I wonder whether I -have- to include the jbossall-client.jar in order to obtain a directory connection to Jboss from Tomcat, or whether I can somehow configure something so that new javax.naming.InitialContext(...); transparently resolves to the directory service operated by Jboss. The catch is of course to do this without including jbossall-client.jar to the web application running on Tomcat. Would this be possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149192#4149192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: VPE of 2.1.0.CR1 on x86_64
You need to download and install both plugins below: http://repository.jboss.org/xulrunner/org.mozilla.xulrunner.gtk.linux.x86_64_1.8.1.4-20080112.jar http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/eclipse/archived/org.mozilla.xpcom_1.8.1.3-20070904.jar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149196#4149196 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Improve performance on sending messages to a queue
Hello you all, I have performance troubles with jboss messaging on my enterprise application. On low loads, sending messages to the queue takes at least 30ms. On high loads, it can take about 1 second. I use a org.jboss.resource.adapter.jms.JmsConnectionFactory connection factory to send messages to the queue. I've established its pool size with a value higher than the maximum number of clients to ensure they don't get blocked on sending. I wonder if doing the sending inside a Worker could enhance performance. Would it be wise to do this? Or is there a way for improving performance on sending messages to the queue? Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4149195#4149195 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user