[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name
Have a look ath env-entry in ejb-jar.xml dtd: http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd Here's an brief extract: anonymous wrote : !-- | The env-entry element contains the declaration of an enterprise bean's | environment entries. The declaration consists of an optional | description, the name of the environment entry, and an optional value. | | Used in: entity and session | -- | !ELEMENT env-entry (description?, env-entry-name, env-entry-type, | env-entry-value?) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953339#3953339 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953339 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: ORA-00972: identifier is too long using Oracle to instal
it is fixed in latest CVS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953340#3953340 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953340 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Clear bidirectional @OneToMany collection
Beginner's question: I have in an entity FThread: @OneToMany(cascade=CascadeType.ALL, mappedBy=fthread) | public ListPost getPosts() { | if(posts == null) posts = new ArrayListPost(); | return posts; | } My sfsb ThreadManager has an extended persistence context and I verified that my fthread is currently managed when I call fthread.getPosts().clear(); What is missing that the posts are not removed from the database? Thank you! sonja View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953341#3953341 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953341 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Relationship and Foreing Key
No one know how to eliminate Foreing Key constraint with annotation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953343#3953343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953343 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Invoker starting order problem
Hello This is continuation of thread posted few days ago - http://www.jboss.com/index.html?module=bbop=viewtopict=85342 After few tests I noticed when I start an server without ear application, and next deploy an application everything was ok. Below I showed standard output of jboss which starts with and without ear to show some my observation. Standard output of jboss starting with ear: | 13:27:47,633 INFO [DLQ] Bound to JNDI name: queue/DLQ | 13:27:47,823 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb | oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 13:27:47,894 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb | oss.jca:service=DataSourceBinding,name=APP_XMLDS' to JNDI name 'java:APP_X | MLDS' | 13:27:47,924 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep | loy/jmx-console.war/ | 13:27:48,084 INFO [EARDeployer] Init J2EE application: file:/E:/INSTALL/APP_RELEASE/OE 3.30 RC1 - SSL/OE SERVER/jboss-4.0.4RC1-OE/server/default/deploy/oe3 | .ear | 13:27:52,922 INFO [EjbModule] Deploying SystemChart | | | | ame=oe3/SessionController,service=EJB | java.lang.RuntimeException: invoker is null: jboss:service=invoker,type=jrmp,soc | ketType=SSL | at org.jboss.proxy.ejb.ProxyFactory.setupInvokers(ProxyFactory.java:258) | | at org.jboss.proxy.ejb.ProxyFactory.start(ProxyFactory.java:242) | at org.jboss.ejb.SessionContainer.startInvokers(SessionContainer.java:44 | 0) | . | . | . | | | ObjectName: jboss.j2ee:jndiName=ejb/ResponseSenderSessionBean,service=EJB | State: FAILED | Reason: java.lang.RuntimeException: invoker is null: jboss:service=invoker,typ | e=jrmp,socketType=SSL | | | | | 09:12:39,758 INFO [STDOUT] [EMAIL PROTECTED] | 38d57 | 09:12:40,519 INFO [SimpleThreadPool] Job execution threads will use class loade | r of thread: Timer-4 | 09:12:41,060 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0 | -8080 | 09:12:41,230 INFO [QuartzScheduler] Quartz Scheduler v.1.5.1 created. | 09:12:41,230 INFO [RAMJobStore] RAMJobStore initialized. | 09:12:41,230 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedule | r' initialized from default resource file in Quartz package: 'quartz.properties' | | 09:12:41,230 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.1 | 09:12:41,230 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS | TERED started. | 09:12:41,260 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 | 09:12:41,320 INFO [JkMain] Jk running ID=0 time=0/180 config=null | 09:12:41,330 INFO [Server] JBoss (MX MicroKernel) [4.0.4RC1 (build: CVSTag=JBos | s_4_0_4_RC1 date=200602071519)] Started in 34s:639ms | Standard output of jboss starting without ear: | 13:25:29,612 INFO [DLQ] Bound to JNDI name: queue/DLQ | 13:25:29,782 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb | oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 13:25:29,852 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb | oss.jca:service=DataSourceBinding,name=APP_XMLDS' to JNDI name 'java:APP_X | MLDS' | 13:25:29,903 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep | loy/jmx-console.war/ | 13:25:30,544 INFO [STDOUT] [EMAIL PROTECTED] | af328 | 13:25:30,974 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0 | -8080 | 13:25:31,175 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 | 13:25:31,185 INFO [JkMain] Jk running ID=0 time=0/110 config=null | 13:25:31,195 INFO [Server] JBoss (MX MicroKernel) [4.0.4RC1 (build: CVSTag=JBos | s_4_0_4_RC1 date=200602071519)] Started in 16s:128ms | As you can see differences between that ouputs is line 13:25:30,544 INFO [STDOUT] [EMAIL PROTECTED] af328 I think problem is in invoker starting order, stateless-ssl-rmi-invoker is initalized after ear deploying. If anybody has any idea I'll be glad for help. Sebastian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953348#3953348 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953348 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Multi threading client to log EBJ3 with ClientLoginModul
I thank you for your helps. I had to forget for the moment this problem, because my project has to go on about functionnalites. I think that I do the same things that Mehdi. In my tomcat standalone, I know the user which is in the session. Thus for each call of EJB, I invoke the login module. But my problem is that sometimes the sent login does not correspond to the login in the session Web (tomcat). I think that I may use badly the login context. What do you want to say about the filter ??? what does this filter do ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953349#3953349 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953349 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - EJB3 Entity Update takes too long to update
Hello Everyone, I have following setup, WindowsXP, jboss-4.0.4.CR2, MyEclipse IDE and completed developing small inventory program which has following entity Category (1---Many)Product Product(1---One)Unit Movement(1---Many)Product MovementDocument(1Many)Movement (some more documents with dependencies) The entities, session bean(stateless) works perfect. I have about 3000 products (expected to grow in double size in a month or two), 500 Categories, and about 50,000 movement lines. To add new product: manager.persist(product) takes less than one second (not measure though) buts its update which takes about 30 to 120 seconds. Clearly a bottleneck in the application, here is the code to update Product: | manager.merge(product); | manager.find(Product.class, product.getProductNo); | After reading some other threads, i made few corrections in the code like changing all Collection to Set, making all relation LAZY load, removing clustering from JBoss and this has achieved a better result where above mentioned update code now takes 10 secs approx. Changing the JVM setting as per thread http://www.jboss.com/index.html?module=bbop=viewtopict=85517 make things worst and the udpate time almost doubles. Can anyone help me to fine tune my code or JBoss to acheive more industry standard performance. I'll appreciate anyone help. Thanks Murtuza View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953350#3953350 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953350 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Transaction rollback in JBOSS/SEAM
I read seam1.0.0.CR3 DVDStore sample. And I tried to do rollback test. I think the default transaction mode is REQUIRED so we don't need to write declarative transaction at the method. As my understanding there are three types of coding for roolback. 1) Call setRollbackOnly() 2) Anotate @ApplicationException(roolbak=true) for exception trigers rollback 3) Generate System Exception I write the program for checking #1. The database is MySQL 4.0.26. Seam is 1.0.0CR3. JBOSS is 4.0.4GA. But it doesn't work. Transaction is not active is returned. Does anybody success to rollback in SEAM? What I do is I added the below in faces-config.xml | lifcycle | phase-listnerorg.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListner | /phase-linstner | /lifecycle | | I added the below in web.xml | filter | filter-nameSeam Exception Filter/filter-name | filter-classorg.jboss.seam.servlet.SeamExceptionFilter/filter-class | /filter | | filter-mapping | filter-nameSeam Exception Filter/filter-name | url-pattern/*/url-pattern | /filter-mapping | The program is | package org.jboss.seam.example.NCI_GW.ejb; | | import org.jboss.seam.example.NCI_GW.par.*; | | import java.util.*; | | // add 0620 for Transaction --- | import org.jboss.seam.contexts.Context; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.Transactional; | import javax.annotation.Resource; | import javax.ejb.*; | import org.jboss.seam.annotations.Conversational; | import org.jboss.seam.annotations.Begin; | import org.jboss.seam.util.Transactions; | import javax.transaction.UserTransaction; | import javax.naming.NameNotFoundException; | import javax.naming.NamingException; | | | import org.jboss.seam.annotations.Scope; | import static org.jboss.seam.ScopeType.*; | import javax.ejb.Stateless; | import javax.ejb.Stateful; | import javax.faces.application.FacesMessage; | import javax.faces.context.FacesContext; | import javax.faces.model.SelectItem; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.jboss.seam.annotations.Name; | | import org.jboss.logging.Logger; | | import static javax.persistence.PersistenceContextType.EXTENDED; | import static javax.persistence.PersistenceContextType.TRANSACTION; | import javax.ejb.Remove; | import org.jboss.seam.annotations.Destroy; | | @Stateful | @Scope(EVENT) | @Name(dspForumRoomSession) | public class DspForumRoomSessionBean implements DspForumRoomSession | { | private static final Logger log = Logger.getLogger(DspForumRoomSessionBean.class); | | @PersistenceContext(type=EXTENDED) | private EntityManager em; | boolean result; | | @Resource | SessionContext ctx; // Declare SessionContext | | | public boolean createForum(Forum forum) // Register Forum table | { | try { | em.persist(forum); | result = true; | } catch (Exception e1) { | e1.printStackTrace(); | result = false; | } | // 0622 for Transaction --- | rollBack(); | return result; | } | | | public boolean rollBack() // Try rollback | { | try { |ctx.setRollbackOnly(); | result = true; | } catch (Exception e1) { | e1.printStackTrace(); | result = false; | } | return result; | } | | | |@Destroy @Remove |public void destroy() {} | | } | The snipped of server.log is | 2006-06-26 16:21:08,025 DEBUG [org.hibernate.pretty.Printer] org.jboss.seam.example.NCI_GW.par.Forum{level=1, forumid=1004, edtsubject=???06/06/26 16:21?, userid=sasaki, edtchainid=null, crtdatetime=2006-06-26 16:21:07, username=???, subject=???, comment=???, countcomment=0, chainid=99} | 2006-06-26 16:21:08,025 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2006-06-26 16:21:08,025 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection | 2006-06-26 16:21:08,035 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true | 2006-06-26 16:21:08,035 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false | 2006-06-26 16:21:08,035 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true | 2006-06-26 16:21:08,035 DEBUG [org.hibernate.util.JDBCExceptionReporter] Cannot open connection [???] |
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Queues become 'Destroyed' for no reason
Any thoughts on this guys? The problem has re-occued today... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953352#3953352 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953352 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Remote / LocalHome Interface issue - How smart is JBoss?
Thanks for your reply...I going through looking at the stactraces...probably..you are right ..there is no big difference..but it is worth taking a look! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953353#3953353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953353 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 3.2RC7 + JBossIDE 1.6.0 GA - xdoclet problems
yeah JBossIDE does not work with eclipse 3.2, many of us are waiting for JBossIDE 2.0 (which will support 3.2) to be released. You will have to install eclipse 3.1, until a release of JBossIDE 2.0 comes out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953354#3953354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953354 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - How to change JBoss server Default configuration fron 'defau
How to change JBoss server Default configuration fron 'default' to ' all' with out using -c optionanonymous wrote : [img][/img] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953355#3953355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953355 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: How to change JBoss server Default configuration fron 'd
chvnkishore wrote : How to change JBoss server Default configuration fron 'default' to ' all' with out using -c optionanonymous wrote : [img][/img] Thanks in Advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953356#3953356 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953356 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 3.2RC7 + JBossIDE 1.6.0 GA - xdoclet problems
oh heres the bug report, maybe you should vote for it -- http://jira.jboss.com/jira/browse/JBIDE-315 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953357#3953357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953357 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Proper way to Configure JBoss MQ Queues
If you are looking up XAConnectionFactory you will need to use HAJNDI. See JBossHAJNDIUseCluster on the Wiki. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953358#3953358 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953358 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WS-Security Signing for EJB
Hi, I am working on the same thing wherein using JBOSS4.0.1Sp1. I have configured my JBOSS.xml in the same manner as specified. But still the server doesnt seem to sign the requests and responses. And moreover it accepts plain requests which are not signed. This is my jboss.xml enterprise-beans ejb-nameHelloBean/ejb-name jndi-nameejb/HelloBean/jndi-name port-component port-component-nameHello/port-component-name port-component-uri/jboss-at-work/Hello/port-component-uri transport-guaranteeNONE/transport-guarantee /port-component /enterprise-beans webservice-description webservice-description-nameHelloBean/webservice-description-name config-nameStandard Secure Endpoint/config-name /webservice-description This the client I am using to access the server: public class HelloClient { public static void main(String[] args) throws Exception { String urlstr = args[0]; System.out.println(Contacting webservice at + urlstr); URL url = new URL(urlstr); QName qname = new QName(http://127.0.0.1:8080/jboss-at-work;, HelloService); ServiceFactory factory = ServiceFactory.newInstance(); Service service = factory.createService(url, qname); Hello hello = (Hello) service.getPort(Hello.class); String argument = Contract for gear boxes ; System.out.println(hello.echoHello( + argument + )); System.out.println(output: + hello.echoHello(argument)); } } I am able to get a response from the server. I want to know 1) how to configure the server so that it excepts signed messages. 2) how to configure clients so that it requests are signed. This is my jboss-wsse-server.xml jboss-ws-security xmlns=http://www.jboss.com/ws-security/config; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd; key-store-fileMETA-INF/wsdomain.jks/key-store-file key-store-passwordwsstorepass/key-store-password trust-store-fileMETA-INF/wsdomaintrust.jks/trust-store-file trust-store-passwordwsstorepass/trust-store-password /jboss-ws-security TIA, Sathish View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953359#3953359 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953359 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Eclipse 3.2RC7 + JBossIDE 1.6.0 GA - xdoclet problems
nightly builds runs on eclipse 3.2RCs View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953360#3953360 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953360 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - NEED HELP : Declarative authorization doesn't work
I try declarative authorization limit but it doesn't work. JBOSS is 4.0.4.GA. I use FORM authentification and call stateless sesssion bean via servlet. The users and roles are set by DatabaseServerLoginModule. The users are mysql select * from users; +--+--+ | username | passwd | +--+--+ | user1| password | | user2| password | | user3| password | | manager | password | +--+--+ mysql select * from userroles; +--+---+ | username | userRoles | +--+---+ | user1| user | | user2| user | | user3| user | | manager | admin | +--+---+ The propgram is tiny one. The method multi is allowed only user role. The method plus is allowed only admin role. The method minus is allowed any role. I executed program but manager is able to execute multi. And user1 is able to execute plus. No message comes from JBOSS. | package security.sample; | | import java.security.Principal; | | import javax.annotation.Resource; | import javax.annotation.security.PermitAll; | import javax.annotation.security.RolesAllowed; | import javax.ejb.SessionContext; | import javax.ejb.Stateless; | | | @Stateless | public class CalculatorBean implements Calculator { | | @Resource SessionContext ctx; | | @RolesAllowed(user) | public int multi(int value1, int value2) { | checkUser(multi); | return value1 * value2; | } | | @RolesAllowed(admin) | public int plus(int value1, int value2) { | checkUser(plus); | return value1 + value2; | } | | | @PermitAll | public int minus(int value1, int value2) { | checkUser(minus); | return value1 - value2; | } | | private void checkUser(String methodName) { | System.out.println(method: + methodName); | Principal caller = ctx.getCallerPrincipal(); | String name = caller.getName(); | System.out.println(name: + name); | | | } | } | | Does anyone check declarative authorization ? Could you give me advices? Susumu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953361#3953361 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953361 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: configuring jboss cache for EJB3/hibernate
(I hope I am not hijacking...) I have the problem, that when I try to use the cache, it results in a: 16:51:44,625 WARN [ServiceController] Problem starting service jboss.j2ee:ear=t | estEJB.ear,jar=testEJB.jar,name=NatPersLstSFBean,service=EJB3 | java.lang.RuntimeException: java.lang.NoSuchFieldError: eviction_policy_provider at org.jboss.ejb3. | ServiceDelegateWrapper.startService(ServiceDelegateWra | pper.java:105)at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS | upport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB | eanSupport.java:245)... | I guess it is due to configuration or version missmatching.. (AS4.0.4GA with 1.3.0 or 1.4.0CR1). I wanted to use a cache =1.3.0 so that I can use the optimistic node locking (prefarable the 1.4.0 since its been tuned for speed). I posted about it here (with details) http://www.jboss.com/index.html?module=bbop=viewtopict=83655 , but I guess it got kind of lost (after the 1.2.4 issue). Sincerly Marc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953362#3953362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953362 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Regarding Asynchronous Continuations
In regards to modelling Asynchronous Processes, I have read through Chap 9 Process Modelling | Chap 13. Asynchronous Continuations and | Tom Bayen's Blog Entry All you ever wanted to know about Workflow and how it relates to Java, Continuations and Transactions. | | My perhaps silly question is that why isn't async used for Tasks, I have used Oracle BPEL Workflow before and Tasks response or completion used to be asynchronous having a callback association in the process when the Task was completed. | | My other question is that under JBPM, I am not entirely clear as what Client thread [Is it JBPM thread ? ]and the server thread[ Is it DBMS Thread for transaction processing ? ] means, this terminology has been used in the JBPM Documentation. | | Also, under what scenarios or examples would this piece of functionality might come in handy. | | Thanks Very Much, Kazam. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953363#3953363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953363 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - JBoss Seam 1.0.1 Migration
I just migrated the applications created previously in Seam to the latest 1.0.1 version. Now for all the applications I get the following exception Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListene I tried to deploy as well the examples and I get the same exception as well. Something in JBoss-AS 4.0.4.GA needs to be updated? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953364#3953364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953364 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to use the COUNT keyword in JBoss-QL
Hi, The Jboss documentation says it supports COUNT keyword in JBoss-QL. But when i put a count method in the home interface which returns int , the app server throws a spec violation saying it needs the remote instance. How do i use the COUNT feature effectively. Right now i an doing a 'select * from ' and counting the number of instances. This looks to me as a performance overkill. Jboss version - 4.0.1 Regards Himadri View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953368#3953368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953368 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - DataSource configuration at runtime
Hello, i do have a question about microcontainer and seam managed sessions. Please have a look at: http://www.jboss.com/index.html?module=bbop=viewtopict=85491 Can anybody help me out? Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953371#3953371 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953371 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Using JMS over HTTP with a HTTP-Proxy
Hello, I know that JBoss works well by tunneling JMS over HTTP. But must there be further configurations if JBoss as a JMS service provider is hidden behind a HTTP-Proxy? Thanks! Robert View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953372#3953372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953372 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - JBoss Portal Does Not Locale Specific Page Title / Portal Ti
Does JBoss Portal support locale specific page title / portal title? I want that when users with different locale login, they can see the locale specifc page / portal title in the navigation bar at the top. From the JBoss src (NavigationPortlet.java), it seems it just uses the getName() of the page/portal node to display the title in the navigration bar. Any other utility built-in in JBoss Portal to support the above locale specific requirement? If not yet, will it be available in future (when?) ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953373#3953373 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953373 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataSource configuration at runtime
This sounds very wrong to me that you deploy then copy a war file or that you define the datasource *after* the deployment. Didn't you mean package instead of deploy ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953375#3953375 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953375 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Spring Application Context / JBoss
Can anyone help a spring/jboss newbie? I'm basically trying to have the spring application context loaded up in Jboss the minute my application gets deployed onto jboss but can't seem to figure out how Anyone give some pointers, much tia. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953376#3953376 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953376 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: Spring Application Context / JBoss
Not the right forum. Search on Spring forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953377#3953377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953377 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: How get user role
If u use JBP 2.2.0, it is normal situation, because, You should add to the your portlet declaration (in a portlet.xml file) declaration of a roles. security-role-ref role-namerole_name/role-name /security-role-ref When u use this portlet (using user witch role role_name), then this role will be detected by isUserInRole(role_name) function, by returning true value. reg. MB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953379#3953379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953379 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Queue configuration
Using JBoss 4.0.4.GA, Messaging 1.0.1. How do I configure queue properties such as max redelivery attempts etc. I've been looking through the docs and found nothing - perhaps I haven't had enough coffee yet... Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953381#3953381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953381 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: JBoss/Spring development
So if I wanted to retrieve the relevant bean factory, I'd have to use JNDI to retrieve it? Is it possible to utilise WebApplicationContext to retrieve the bean factory? Thanks in advance... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953382#3953382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953382 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: can't open my index , jsp and error.jsp
can anyone just give a hit?? thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953383#3953383 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953383 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: actual table-name is not taken while creating SQL query
I can't see a mistake. Do you pack the EAR/JAR correct (not missing the jboss config) How do you create the descriptor? xdoclet? Wolf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953384#3953384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953384 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Regarding Asynchronous Continuations
kazam wrote : | My perhaps silly question is that why isn't async used for Tasks, I have used Oracle BPEL Workflow before and Tasks response or completion used to be asynchronous having a callback association in the process when the Task was completed. Simple, jBPM has (human) task functionality by default. Oracle had to make a proprietary extension to BPEL to achieve the same. So tasks are already 'async' kazam wrote : | My other question is that under JBPM, I am not entirely clear as what Client thread [Is it JBPM thread ? ]and the server thread[ Is it DBMS Thread for transaction processing ? ] means, this terminology has been used in the JBPM Documentation. Could you elaborate on this? Besides the async continuations, jBPM runs in the client thread (e.g. the webapp, fat client or whatever). It is a library, not a full separate server kazam wrote : | Also, under what scenarios or examples would this piece of functionality might come in handy. Async conituations? Mainly in the case of long running automated actions which you do not want to block a thread, transaction etc. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953386#3953386 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953386 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Observer / Listener pattern on jBPM process execution?
One solution we (the company I work for) are thinking of for a kind of BAM solution is to periodically poll the DB. This way we do not have to change any code in jBPM and retrieving all starts, node enters and end since the last poll (we keep the ID of the last log record) doe not lead to a major performance issue. We think of polling the DB every 5 minutes. This solutution is used by more BAM suppliers to be able to do things without having to work with BPM suppliers to adapt the BPM engine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953387#3953387 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953387 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Observer / Listener pattern on jBPM process execution?
check out event propagation in the docs: you can associate an action with a process definition. after that you're notified of all that kind of events inside of the process. there is no event/action mechanism spanning all process definitions in a jbpm installation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953388#3953388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953388 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - newbie struts error
Hello. I am having a frustrating problem with an action. All it is is a simple foward after a query in a bean, but I keep getting forward success not found from the server log. I am sure I am just missing out on something simple here but I just can't see what, below is the situation: I have an index doing a redirect: | %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % | c:redirect url=activeProfiles.do?dispatch=getActiveProfiles/ | This is the struts-config bit | action |path=/activeProfiles |type=coreservlets.action.ProfileAction |parameter=dispatch | forward page=success path=/display/activeProfiles.jsp/ | /action | I do have the file in the correct directory that struts-config is calling to. This is the class bit doing the return | public ActionForward getActiveProfiles(ActionMapping mapping,ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception{ | logger.debug(getActiveProfiles); | populateActiveProfiles(request); | return mapping.findForward(success); | } | | private void populateActiveProfiles(HttpServletRequest request){ | ArrayList activeProfiles; | try { | activeProfiles = proService.getActiveProfiles(); | request.setAttribute(Constants.ACTIVEPROFILES,activeProfiles); | } catch (SQLException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | | } | This is the server error that I get when I hit index.jsp: | 2006-06-26 11:57:37,811 INFO [STDOUT] 11:57:37,811 WARN [ActionMapping] Unable to find 'success' forward. | Any help, hints or pointers would be greatly appreciated. Thanks for reading. cheers Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953389#3953389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953389 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: JBoss/Spring development
Like I already told you: 1. read what JBoss/Spring Integration is all about (see wiki) - and it is not about how you get you web app context up and running 2. I believe Spring forum has tons of this helping issues, and tons of examples , ... 3. what are you trying to do? simple instantiation of app context inside war is basic stuff ... for other usage there are dozen of different AppContext sub classes View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953391#3953391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953391 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: newbie struts error
Jaikiaran, excellent thanks. You maybe no expert but you have an eye for syntax, nice one, should have spotted it myself but that is the way heh looking at the thing too closely. It works with the change. Thank you very much for your help. cheers Martin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953392#3953392 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953392 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: problem with JNDI EJB3 accessing
This problem comes from that your client (i.e IDE) uses differet ejb3 libraries than your current jboss server. You can fix the problem by removing all ejb3 libraries that your IDE uses and then add the same ejb3 libraries located in jbossXXXGA/server/default(depends here)/lib View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953393#3953393 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953393 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - I want to create a project using 3.0 rules and use descision
Please send me a basic application which make use of descision table. I am not able to get org.drools.decisiontable.DecisionTableLoader in 3.0 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953394#3953394 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953394 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Re: Queue configuration
Delivery attempts is currently hardcoded. Pluggable redelivery behaviour is currently scheduled for 1.0.2 http://jira.jboss.com/jira/browse/JBMESSAGING-127 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953396#3953396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953396 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: newbie struts error
I am not a expert at Struts, but i think: anonymous wrote : should be: forward name=success path=/display/activeProfiles.jsp/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953390#3953390 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953390 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Problems consuming webservice
I have a webservice consumer deployed on a (local) JBoss 4.03 server wich I can connect to by finding it via JNDI. But when I try to call a method on the (found) stub, I get an UnknownHostException when it tries to call the URL of the webservice (I am behind a firewall). Setting the System properties (http.proxyXXX etc) does not work, nor does starting the server with the VM settings (-DproxyXXX). I created all files using the wscompile tool from Sun. Anyone with suggestions how to resolve this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953398#3953398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953398 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - 2 apps using different versions of SAME database jars, Possi
Hi, Is the following scenario possible, considering the way classloading works. - I have 2 applications App1 and App2 deployed on JBoss - App1 uses a datasource which requires a older version jar of some database(say oracle). App2 uses a datasource requires a newer version of jar of the SAME database. - For these 2 datasources, i create 2 ds.xml files and place them in deploy directory. I also place olderVersion.jar and newerVersion.jar driver files in the server/default/lib directory. Is this scenario going to work? Will the datasources pick up the correct jar files? If not, is there any way to handle this scenario? -Jaikiran View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953399#3953399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953399 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: Spring Application Context / JBoss
Thanks for the notification and pointer but as the context of my help request is basically Spring and Jboss, I assumed this would be the correct forum to ask; after a bit of investigation as to why you say this is the incorrect forum, I take it this 'Spring/JBoss' integration is more to do with Spring/EJB/Jboss integration? Somewhat misleading for someone starting out in Spring/Jboss etc, so do excuse the incorrect post. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953400#3953400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953400 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Problem with delete through helper method in SessionBean
Hello, I have the following problem: I have a User entity with a ManyToMany relationship to Group, persist and merge cascading. I have a UserMgrBean session bean to access the Users. If i delete a User with a relationship by calling (umgr being a UserMgr instance) | umgr.delete(umgr.get(1)); | It works fine, user is deleted along with relationship. However, in UserMgr i also have a method that actually does the same... | public void DWRDelete(int userId) { | manager.remove(manager.find(User.class, userId)); | } | ... but results in this error: | org.hibernate.ObjectDeletedException: deleted entity passed to persist: [ejbframe.entity.User#null] If i call DWRDelete on a User without a relationship it works. That method is for when i access the bean via javascript and i cant do without it. How can i fix this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953403#3953403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953403 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Re: Queue configuration
Is the DLQ behaviour also hard coded (and supposed to work)? Am playing with the redelivery behaviour by having a simple mdb that just calls setRollbackOnly. We watch messages being delivered a number of times and eventually get a log message along the lines of: JBossMessage[58120]:PERSISTENT has exceed maximum delivery attempts and will be removed However, the message is never moved onto a dlq... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953404#3953404 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953404 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Re: Queue configuration
There's no DLQ support at present. This is part of the same task, so will be in 1.0.2 (not too long). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953405#3953405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953405 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam Booking example does not sorport chinese character
By if needed, i meant if configured by the developer. So i meant to have the filter as a utility (ie: if people need it, they shouldn't have to write it). But i said that based on the assumption that the filter was required. It is not obvious now that you say it. CptnKirk, you seem to be the most knowledgeable on this subject here, what would you recommend ? And what do you mean by: this type of filter should never be needed if all else is working properly. Do you know what is broken so that this filter is required ? Thanks for your input ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953406#3953406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953406 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Datatable presentation problem
Hi, I'm new to seam and I'm facing a problem with the caption tag in the datatable element. I need to produce a caption for a table, but the caption facet in the datatable element doesn't produce anything. The code I use is: h:dataTable value=... var=hot rendered=... styleClass=dataTable border=1 cellpadding=0 cellspacing=0 f:facet name=captionResults sorted by Rating/f:facet h:column f:facet name=headerName/f:facet ... /h:column I would also like to produce a different id attribute for each th element and use this id's value for a headers attribute in each td relatively. Can anyone help me with the above problems? Thanx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953408#3953408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953408 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam Booking example does not sorport chinese character
I believe that this problem is caused by a bug in FaceletViewHandler. I replaced the jsf-facelets.jar with a new one and removed the filter from the web.xml. Then I redeployed the booking example and tested it. I found that it could process and display chinese character correctly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953410#3953410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953410 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: Spring Application Context / JBoss
Np. If you have some other usage than plain web app context, maybe then JBoss/Spring integration can be useful. But for plain web app context - it's very simple - I think all you need is a right Servlet Listener defined in your web.xml. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953412#3953412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953412 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Re: Queue configuration
Aah, fair enough - I'll have another go when 1.0.2 comes out. Cheers, Andy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953413#3953413 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953413 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: NEED HELP : Declarative authorization doesn't work
Susumu, It would be helpful to see what is happening at authentication time in trace logging for jboss security layer. As well, you can verify what roles the principals have by viewing the authentication cache using jmx-console. Please let us know. thanks, cgriffith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953414#3953414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953414 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataSource configuration at runtime
Hello, yes you are right, i have used the wrong wording. here is the correction By now, for every targetsystem i do this: 1. edit jboss-bean.xml 2. package the app (run Ant build script) 3. copy the resulting war to the right system But what i need is: 1. package the app (run Ant build script) 2. copy the war to all target systems 3. configure the right database into the app after deployment anonymous wrote : define the datasource *after* the deployment. Before using seam, i used a datasource provided by Tomcat. anonymous wrote : i was used to specify my datasource in file context.xml in the META-INF Directory in my app.So i can edit /conf/Catalina/localhost/baz.xml after deployment. But now i am using the microcontainer and can not make any use of a tomcat provided datasource. Am i right? Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953418#3953418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953418 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Web services and java.util
Hi! What about the problem with WS and types java.util? Did it solved? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953419#3953419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953419 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - BPEL and Java
Hello, I would like to create a process in BPEL (to work with jbpm). A client application coded in Java creates a new instance of the process. Then, the state node of the process wait that the client send a data (receive node). Here, the partner link is the client application. But with the BPEL Process, I have to give the partner link type information, but how can I give the partner link information because it is a link to a WSDL file (and with my client application, I don't have a WSDL file). Also, how my client can send data to BPEL process ? In fact, how can I do the communication between the BPEL process and a client application coded in Java. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953420#3953420 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953420 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - I am to able to connect to the server through client
I have got these examples from jboss website showing how to run ejb3. I have deployed the jar file in jboss for stateless session bean. The bean gets deployed successfully but the client is not able to the call the beans The following exception occurred Exception in thread main java.lang.NoClassDefFoundError: Lorg/jboss/remoting/InvokerLocator; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2232) at java.lang.Class.getDeclaredField(Class.java:1852) at java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1555) at java.io.ObjectStreamClass.access$600(ObjectStreamClass.java:47) at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:381) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.(ObjectStreamClass.java:373) at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:268) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:504) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jboss.tutorial.stateless.client.Client.main(Client.java:35) Can anyone help me to resolve above error Regards, Gaurav View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953421#3953421 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953421 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - @RequestParameter?
I have the following SLSB... @Stateless @Name(infozapAction) public class InfozapActionImpl implements InfozapAction { @RequestParameter(schoolList) private String schoolList; @Out private InfoZapDTO izdto; public void createInfoZapDTO() { System.out.println(schoolList); izdto = new InfoZapDTO(schoolList); } } and the following pages.xml... page view-id=/ben/onepageiz.xhtml action=#{infozapAction.createInfoZapDTO}/ However, when I navigate to the following url... http://ben.gradview.com:8080/ben/onepageiz.jsf?schoolList=2525 The console outputs null. Is my usage of @RequestParameter correct? Could this possibly be a bug? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953422#3953422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953422 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Proper way to Configure JBoss MQ Queues
Hi gcoleman, Thanks for your reply, my server is configured to use HA-JNDI by default and it have jndi.properties as mentioned in Wiki in conf directory. When I am accessing ConnectionFactory within server I am just calling new InitialContext() since it is within server do I have to explicitly include properties within Context to get HA-JNDI context. All I am doing is Context x = new InitialContext() x.lookUp(ConnectionFactory) So to get SINGLETON HA-JMS ConnectionFactory do I have to say anything else when I am getting IntialContext. server-all-deploy-has-singleton has all files that are shipped with server. Any help is greatly appreciated. Thanks alot, Anu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953425#3953425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953425 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataSource configuration at runtime
You need to use the JNDI tree of Tomcat for the datasource then (and keep JBoss JNDI for everything else) The easiest way to do (if you are using one of the Seam example as skeleton) is to configure in: ./embedded-ejb/conf/default.persistence.properties those 2 keys: hibernate.jndi.java.naming.factory.initial hibernate.jndi.java.naming.factory.url.pkgs to the tomcat JNDI values. Deleting those 2 keys should actually work just fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953424#3953424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953424 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Problem creating two intances on the same machine
Are you actually using the default server? If so, your cluster instances need to be copies of the all server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953426#3953426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953426 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Dead Link for Javaservice
Saludos in the Chapter 1. Getting Started doc there is a link for Javaservice. http://www.alexandriasc.com/software/JavaService/index.html -- this one is dead! looking up in google points me over here: http://javaservice.objectweb.org/ Youd better refer to the Object Web site, it will not disappear like a direct download link. Thanks Greets shortY =) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953427#3953427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953427 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Problems in processing of xs:any
Hi guys, I have an implementation of WS-Reliable Messaging, which uses Axis and WebLogic. I am trying to convert it to be open-source based, using JBoss as the WS container. To do this, I need to generate code from my WSDL, which I then implement as a web service (using the standard ws-tools that JBoss supplies), which all works fine and dandy. Problem is, however, that the WS-Reliable Messaging spec likes to include a ws:any in all of its elements to allow for additional XML structures (such as security tokens etc.) to be added as-and-when required. This leads to web service code that fails to work under JBoss (as far as I can tell, having spent a few weeks looking/delving/trying/proving etc. before posting this). I get a stack overflow whenever I use a web service that has a ws:any type. I have created a simple WSDL to try test this in isolation, and thought that I had found the answer on a previous forum posting, but to no no avail). Here is the WSDL snippet that causes a problem: | xs:complexType name=CreateTestOutputT | xs:sequence | xs:element name=createOutput type=xs:string/ | xs:any namespace=##any processContents=lax minOccurs=0 maxOccurs=1/ | /xs:sequence | /xs:complexType | xs:element name=CreateTestOutput type=tns:CreateTestOutputT/ | If the element CreateTestOutput is the return from a web service, then the call to it produces a stack overflow similar to this: | at org.jboss.xb.binding.AttributesImpl.init(AttributesImpl.java:60) | at org.jboss.xb.binding.AttributesImpl.init(AttributesImpl.java:42) | at org.jboss.xb.binding.Content$StartElement.init(Content.java:303) | at org.jboss.xb.binding.Content.startElement(Content.java:191) | at org.jboss.xb.binding.XercesXsMarshaller.marshalComplexType(XercesXsMarshaller.java:681) | at org.jboss.xb.binding.XercesXsMarshaller.marshalElementType(XercesXsMarshaller.java:414) | at org.jboss.xb.binding.XercesXsMarshaller.marshalElement(XercesXsMarshaller.java:380) | at org.jboss.xb.binding.XercesXsMarshaller.marshalElementOccurence(XercesXsMarshaller.java:886) | at org.jboss.xb.binding.XercesXsMarshaller.marshalWildcard(XercesXsMarshaller.java:1018) | ... | ... | I have set the maxOccurs to 1 in an attempt to stop wildcarding (which I thought was the problem, but it isn't). I am now completely stuck, as I cannot use the original Axis generated code, so have nowhere else to go ... Any help/thoughts etc. would be greatly appreciated. Thanks, Dominic. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953429#3953429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953429 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Problems in processing of xs:any
Forgot to mention that I am using JBoss 4.0.4-GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953430#3953430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953430 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: AJP, Apache, Tomcat SSL question
Hi, I am looking to set up my application so that Apache handles the SSL and Tomcat uses AJP to comunicate the data. I need away for requests to HTTP to be redirected to HTTPS to stop the user from accidentally using an insecure pipe. Did you find any helpfull links when you looked into your problem? Many thanks, Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953431#3953431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953431 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JBoss Seam 1.0.1 Migration
fady.matar wrote : I just migrated the applications created previously in Seam to the latest 1.0.1 version. Now for all the applications I get the following exception | | Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | | I tried to deploy as well the examples and I get the same exception as well. | Something in JBoss-AS 4.0.4.GA needs to be updated? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953432#3953432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953432 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Programmatic Login
Hello Sonja and cgriffith, thanks for your replies. yes - its a strange way to do a programmatic login but i didn't found another way... Authenticating via creating a LoginContext is the right way (and i tried it) but I need to propagate the principal through request.getPrincipal(). I need this because I'm using JBoss Portal and it's an elegant way to propagate the principal to portlets which are not in the same .war file. A function like request.setPrincipal would be nice :-) Maybe there is a way overriding the org.jboss.web.tomcat.security.FormAuthenticator class ? Daniel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953433#3953433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953433 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Cannot get connection to Progress 10.0B DB
Does nobody want to point out that Progress DB 10 is NOT PostgreSQL 8 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953434#3953434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953434 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: JBoss Seam 1.0.1 Migration
Repeating your own message is not helpful... Providing more information would help us help you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953436#3953436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953436 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - XMLLoginConfig not picking up my application-policy
Hi, I'm trying to migrate from 4.0.3SP1 to 4.0.4.GA. The last hitch that I have is creating my security domain. Normally, I just add this application-policy snippet to the login-cofig.xml file. anonymous wrote : !-- Application for Pink Applications. -- | application-policy name = PinkRealm | | login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required | module-option name = dsJndiNamejava:/jdbc/PinkCommon/module-option | module-option name = principalsQuery![CDATA[ | SELECT password FROM userinfo | WHERE email = ? AND is_active = 1]]/module-option | | module-option name = rolesQuery![CDATA[SELECT DISTINCT ur.role_id, 'Roles' FROM user_role_company ur | INNER JOIN userinfo u ON ur.user_id = u.id | WHERE u.email = ? AND u.is_active = 1 AND ur.is_active = 1 AND | ((ur.start_date IS NULL) OR (ur.start_date = CURRENT_TIMESTAMP)) AND | ((ur.end_date IS NULL) OR (ur.end_date CURRENT_TIMESTAMP))]]/module-option | | module-option name=hashAlgorithmMD5/module-option | module-option name=hashEncodinghex/module-option | /login-module | | /application-policy For whatever reason, when I start up jboss, the configuration is not picked up at all! All my session beans show this warning ... anonymous wrote : --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:ear=pinkcommon.ear,jar=pinkcommon-ejb.jar,name=AnalyzeLegacyDatabaseBean,service=EJB3 | State: FAILED | Reason: java.lang.RuntimeException: Unable to find Security Domain | I Depend On: | persistence.units:ear=pinkcommon.ear,jar=pinkcommon-ejb.jar,unitName=pinkCommon | Depends On Me: | jboss.j2ee:ear=pinkcommon.ear,jar=pinkcommon-ejb.jar,name=GlobalInfoServiceBean,service=EJB3 | What has changed from 4.0.3SP1 to 4.0.4.GA that my security domain would not have been picked up? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953437#3953437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953437 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - Configuring DataSource (MYSQL 4.X) in struts-config.xml (Str
[We configured the below DataSource in struts-config.xml (in struts 1.2.9) data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName value=com.mysql.jdbc.Driver / set-property property=url value=jdbc:mysql://localhost:3306/mysqldb / set-property property=username value=root / set-property property=password value=admin / set-property property=maxActive value=10 / set-property property=maxWait value=5000 / set-property property=defaultAutoCommit value=false / set-property property=defaultReadOnly value=false / set-property property=validationQuery value=show tables / /data-source while starting the JBOSS 4.0.3 SP1 we are geting the follwing error 12:22:00,513 ERROR [ActionServlet] Initializing application data source org.apache.struts.action.DATA_SOURCE org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766) at org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:598) at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:808) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:335) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at 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:324) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005) 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:324) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357) at org.jboss.web.WebModule.startModule(WebModule.java:68) at org.jboss.web.WebModule.startService(WebModule.java:46) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy30.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:400)
[JBoss-user] [JBoss Messaging] - Re: Installation Validation Test Failure
Thank you for the replies and for the clarification. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953441#3953441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953441 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Query regarding sub-process
Hi, I have a process which consists of multiple sub-processes. I would like to know that after deploying the processes(super as well as sub processes), is it necessary for me to set the process states with their sub-process definitions? What I mean to say is that currently i create my process instance in the following way: ProcessDefinition superDefinition = getProcessAdmin().getDefinition(superprocess); ProcessDefinition subDefinition = getProcessAdmin().getDefinition(subprocess1); //.. do the same for the remaining sub-processes ProcessState state = (ProcessState) superDefinition.getNode(sp1); state.setSubProcessDefinition(subDefinition); //.. repeat the above two steps for the remaining sub-processes. ProcessInstance instance = new ProcessInstance(superDefinition); Then my query here is that do I have to set these sub process definitions or is there a way to configure so that when i create the super process instance and the sub-processes are picked up automatically and created? As in is it okay just to have the following steps: ProcessDefinition superDefinition = getProcessAdmin().getDefinition(superprocess); ProcessInstance instance = new ProcessInstance(superDefinition); Hope that its clear. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953442#3953442 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953442 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Hibernate 2nd lvl Cache for EJB3
I just use jboss-cache release 1.4CR2 in 4.0.5 cvs release. I didn't see any problem for both sfsb and entity under all. I must have missed the problem. Can you summarize your problem again? I am bit confused since I thought you mentioned that just deploying it will produce the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953443#3953443 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953443 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Wrong link in a portlet
Can something similar be the cause of my wrong link? - http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html?page=1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953444#3953444 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953444 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Cannot get connection to Progress 10.0B DB
Wow, good eye. What this means is, however, that someone screwed up the example progress-ds.xml file in the JBOSS_HOME/docs/example/jca/ folder because that's where I got this file. I guess that answers my question of how popular Progress is w/ JBoss users... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953445#3953445 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953445 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: XMLLoginConfig not picking up my application-policy
David, One thing I noticed is you forgot the authentication element (or maybe you just did not post it.) See the login-config.xml file for xml elements. cgriffith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953446#3953446 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953446 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Programmatic Login
You need to hit a secured resource and allow the container to forward you to the login page. You cannot try to do the j_security thing yourself, unless there has been a redirect. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953447#3953447 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953447 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: XMLLoginConfig not picking up my application-policy
Enable trace logging as highlighted in the FAQ at the beginning of this forum. You will see if there are any parsing issues with your login config file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953448#3953448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953448 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Context in Jboss / Tomcat
Hi, My configuration is: Eclipse: Eclipse 3.1.1 (JBossIDE-1.5.1) JBoss 4.0.4 GA I have started developing with JBoss and have the following problem, with Eclipse I create a file .war of my application, and from eclipse I do the deploy in JBoss, and deploy the application in \server\default\tmp\deploy\tmp21526xx-exp.war, but when I shutdown jboss the files (.jsp, .class, .html, ...) of the application they disappear. This produces 2 problems to me: 1 - Whenever I do a change in some JSP (for example), I meet obliged it is necessary to create the file .war and deploy the application from eclipse. 2 - When JBoss is Shutdown, I cant see the files of my application. I am accustomed to working with Tomcat 5 and when for every application I have a file XML in conf\Catalina\localhost and with the tag Context displayName='XXX' docBase='C:/Projects/XXX' path='/XXX' reloadable='true' workDir='C:/Projects/XXX/work' where it is possible to establish the directory base. Is possible to do this with JBoss or it is necessary to create a .war and deploy it to try every change of code in development? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953449#3953449 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953449 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Cannot get connection to Progress 10.0B DB
OK, I just looked through the standardjbosscmp-jdbc.xml file and I don't see an entry for Progress at all - does that mean it's not supported? Can someone help us if it *is* in fact supported? We had great hopes that it was since there was a progress-ds.xml file sitting in the examples dir...that now appears to be incorrectly written. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953451#3953451 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953451 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Programmatic Login
Hey anil, i will try to call the j_security thing after the server send me a redirect. maybe this will try my problems with my strange url = http://localhost:8080/portal/j_security_check?jsessionid=; + sessionId() + :-1j_username= + getLoginName() + j_password= + getPassword(); solution.. Isn't there a way to set the principal into the request after a calling the LoginContext View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953452#3953452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953452 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Error: Can't call rollback when autocommit=true
I have the exact same problem but using hibernate and not entity beans? Anybody know why? I was getting a normal exception when trying to save something. The catch clause then tries to rollback and I get the same exception... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953453#3953453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953453 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration Deployment] - JBoss JMS Message persistance with Ingres problems
We are currently trying to get JBoss 4.0.3 working with Ingres (instead of HSQLDB) as a means of JMS message persistance. We have our demo application successfully connecting to the Ingres R3 database, and it has created the necessary tables in the database for us. However, when our demo application (the message sending app) publishes a message to a topic, on calling the TopicPublisher.publish(.. text message ..), the demo application just hangs. No error messages are produced, either by the demo app or the JBoss console window. The contents of our ingres-jdbc2-service.xml are as follows: server | | mbean code=org.jboss.mq.server.jmx.DestinationManager name=jboss.mq:service=DestinationManager | depends optional-attribute-name=MessageCachejboss.mq:service=MessageCache/depends | depends optional-attribute-name=PersistenceManagerjboss.mq:service=PersistenceManager/depends | depends optional-attribute-name=StateManagerjboss.mq:service=StateManager/depends | dependsjboss:service=Naming/depends | /mbean | | mbean code=org.jboss.mq.server.MessageCache | name=jboss.mq:service=MessageCache | attribute name=HighMemoryMark50/attribute | attribute name=MaxMemoryMark60/attribute | attribute name=CacheStorejboss.mq:service=PersistenceManager/attribute | /mbean | | mbean code=org.jboss.mq.pm.jdbc2.PersistenceManager | name=jboss.mq:service=PersistenceManager | depends optional-attribute-name=ConnectionManagerjboss.jca:service=DataSourceBinding,name=IngresDS/depends | attribute name=SqlProperties | BLOB_TYPE=BYTES_BLOB | INSERT_TX = INSERT INTO jms_ingres_user.JMS_TRANSACTIONS (TXID) values(?) | INSERT_MESSAGE = INSERT INTO jms_ingres_user.JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?) | SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM jms_ingres_user.JMS_TRANSACTIONS | SELECT_MAX_TX = SELECT MAX(TXID) FROM jms_ingres_user.JMS_TXIDS | DELETE_ALL_TX = DELETE FROM jms_ingres_user.JMS_TRANSACTIONS | SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM jms_ingres_user.JMS_MESSAGES WHERE DESTINATION=? | SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM jms_ingres_user.JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? | MARK_MESSAGE = UPDATE jms_ingres_user.JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=? | UPDATE_MESSAGE = UPDATE jms_ingres_user.JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=? | UPDATE_MARKED_MESSAGES = UPDATE jms_ingres_user.JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? | UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE jms_ingres_user.JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=? | DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM jms_ingres_user.JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM jms_ingres_user.JMS_TRANSACTIONS) AND TXOP=? | DELETE_TX = DELETE FROM jms_ingres_user.JMS_TRANSACTIONS WHERE TXID = ? | DELETE_MARKED_MESSAGES = DELETE FROM jms_ingres_user.JMS_MESSAGES WHERE TXID=? AND TXOP=? | DELETE_TEMPORARY_MESSAGES = DELETE FROM jms_ingres_user.JMS_MESSAGES WHERE TXOP='T' | DELETE_MESSAGE = DELETE FROM jms_ingres_user.JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? | CREATE_MESSAGE_TABLE = create table jms_ingres_user.jms_messages (messageid integer not null, destination varchar(255) not null, txid integer, txop char(1), messageblob long byte, primary key (messageid, destination) with (structure = btree, nonleaffill = 80, leaffill = 70, fillfactor = 80, extend = 16, allocation = 4)) with noduplicates, location = (ii_database), security_audit=(table,norow), journaling | CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX jms_ingres_user.JMS_MESSAGES_TXOP_TXID ON jms_ingres_user.JMS_MESSAGES (TXOP, TXID) with structure = btree, nocompression, key = (TXOP, TXID), nonleaffill = 80, leaffill = 70, fillfactor = 80, location = (ii_database) | CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX jms_ingres_user.JMS_MESSAGES_DESTINATION ON jms_ingres_user.JMS_MESSAGES (DESTINATION) with structure = btree, nocompression, key = (DESTINATION), nonleaffill = 80, leaffill = 70, fillfactor = 80, location = (ii_database) | CREATE_TX_TABLE = create table jms_ingres_user.jms_transactions (txid integer, primary key (txid) with (structure= btree, nonleaffill = 80, leaffill = 70, fillfactor = 80, extend = 16, allocation = 4)) with noduplicates, location = (ii_database), security_audit=(table,norow), journaling | CREATE_TABLES_ON_STARTUP = TRUE | /attribute | !-- Uncomment to override the transaction timeout for recovery per queue/subscription, in seconds -- | !--attribute name=RecoveryTimeout0/attribute-- | /mbean | | /server In this, we are most concerned about the values for BLOB_TYPE, and the data type for the
[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Context in Jboss / Tomcat
essimal wrote : Hi, | | My configuration is: | | Eclipse: Eclipse 3.1.1 (JBossIDE-1.5.1) | JBoss 4.0.4 GA | | I have started developing with JBoss and have the following problem, with Eclipse I create a file .war of my application, and from eclipse I do the deploy in JBoss, and deploy the application in \server\default\tmp\deploy\tmp21526xx-exp.war, but when I shutdown jboss the files (.jsp, .class, .html, ...) of the application they disappear. This produces 2 problems to me: | 1 - Whenever I do a change in some JSP (for example), I meet obliged it is necessary to create the file .war and deploy the application from eclipse. | 2 - When JBoss is Shutdown, I cant see the files of my application. | | I am accustomed to working with Tomcat 5 and when for every application I have a file XML in conf\Catalina\localhost and with the tag Context displayName='XXX' docBase='C:/Projects/XXX' path='/XXX' reloadable='true' workDir='C:/Projects/XXX/work' where it is possible to establish the directory base. | | Is possible to do this with JBoss or it is necessary to create a .war and deploy it to try every change of code in development? | | Thanks The correct deply directory is server/default/deploy, not tmp. I don't understand why you would be putting anything in the tmp directory. Your WAR once deployed under deploy will be expanded by the deployer under tmp so JBoss can easily reference files. When JBoss shutdowns down, tmp is cleaned up but your WAR remains in the deploy directory. As for changes to a page, just rebuild your WAR, and deploy it again while JBoss is running. The deployer will see a chance in the timestamp of the WAR file and redeploy so you can easily test your changes. AFAIK, this is the exact same development model as plain old Tomcat. -aps View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953455#3953455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953455 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataSource configuration at runtime
Hello Thomas, so i have to use embeddable ejb? At the moment i use seam managed sessions as introduced with the example 'hibernate' (the derivate from the hotel booking example) If i use embeddablke EJB as suggested, how to inject the transaction manager into a datasource provided by Tomcat? from jboss-beans.xml: | property name=transactionManagerinject bean=TransactionManager//property If there is no easy solution for my environment i have and will live with the little inconvinience to package my app once for every database. (Concrete: I have to write an anttask for changing the attribute connectionUrl in jboss-beans.xml inside a war and than deploy this war to tomcat. ) Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953456#3953456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953456 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Hibernate 2nd lvl Cache for EJB3
Sure, (sorry for being unclear) The error does not occure when just deploying the 1.3.0 or 1.4.0CR1 jboss-cache.jar into the /lib Folder but as soon as I also deploy my ejb3 application (one SLSB, one SFSB and one POJO used via *.hbm.xml as an entity). It does not matter if I use a hibernate configuration that configures/uses a 2nd lvl Cache or not (not meaning the org.hibernate.cache.NoCacheProvider defined in the hibernate.cfg.xml), it will always cause the error. With the 1.2.4 cache deployed it never occures. I just tested with a simple SLSB which says Hello packed in a jar (with 2 Interfaces), when I change it to an SFSB the error comes up. So it doesent seem to be related to the Hibernate 2nd lvl cache, but rather to the SFSB. I hope this is might give some hints... and thanks for having a look ! Sincerly Marc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953457#3953457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953457 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Null Pointer for Nodes with '/' in the name
I stumbled into an exception while trying to name a node in a process definition with a / in it. The eclipse plugin allows for the slash in the node name, however the parser for the process definition does not like it. I believe this is due to the / being used in the string tokenizer as the delimiter. Obviously, the easy solution is not to use a / in a node name, however in my instance it would be very desirable for me to use it. I am using code later to match the node name to a target task name in another system. I will most likely use a work around with a variable, but thought I would flag this here for consideration. Either the designer should not allow that character or the parser should except it. It may confuse future users who do not think to check the source code to see why they get the null pointer. The stack trace is as follows: | | 09:48:15,610 ERROR [JpdlXmlReader] couldn't parse process definition | java.lang.NullPointerException | at org.jbpm.graph.def.ProcessDefinition.findNode(ProcessDefinition.java:335) | at org.jbpm.graph.def.ProcessDefinition.findNode(ProcessDefinition.java:289) | at org.jbpm.jpdl.xml.JpdlXmlReader.resolveTransitionDestination(JpdlXmlReader.java:678) | at org.jbpm.jpdl.xml.JpdlXmlReader.resolveTransitionDestinations(JpdlXmlReader.java:656) | at org.jbpm.jpdl.xml.JpdlXmlReader.resolveTransitionDestinations(JpdlXmlReader.java:648) | at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:153) | at org.jbpm.jpdl.par.JpdlArchiveParser.readFromArchive(JpdlArchiveParser.java:51) | at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:81) | at org.jbpm.graph.def.ProcessDefinition.parseParZipInputStream(ProcessDefinition.java:190) | at org.jbpm.webapp.servlet.UploadServlet.doDeployment(UploadServlet.java:92) | at org.jbpm.webapp.servlet.UploadServlet.handleRequest(UploadServlet.java:81) | at org.jbpm.webapp.servlet.UploadServlet.service(UploadServlet.java:50) | 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.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java: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
[JBoss-user] [EJB 3.0] - Re: Cannot get connection to Progress 10.0B DB
Since EJB is more Hibernate based, it being in the standardjboss.xml is less important. I have not use dit, but is there a dialect available for it? Also, if you have a proper driver and a proper connection URL(see your driver's documantation) it should at least start up. The mapping is only used later. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953459#3953459 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953459 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer
Here is some more data that might shed some light on the problem. destinations-service.xml CONFIGURATION DATA mbean code=org.jboss.jms.server.destination.Queue name=jboss.messaging.destination:service=Queue,name=requestQueue xmbean-dd=xmdesc/Queue-xmbean.xml depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer mbean code=org.jboss.jms.server.destination.Queue name=jboss.messaging.destination:service=Queue,name=responseQueue xmbean-dd=xmdesc/Queue-xmbean.xml depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer mbean code=org.jboss.jms.server.destination.Queue name=jboss.messaging.destination:service=Queue,name=A xmbean-dd=xmdesc/Queue-xmbean.xml depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer mbean code=org.jboss.jms.server.destination.Queue name=jboss.messaging.destination:service=Queue,name=B xmbean-dd=xmdesc/Queue-xmbean.xml depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer SECTIONS OF THE SERVER LOG - CONNECTION 2147483617 IS CAUSING THE EXCEPTION 2006-06-23 08:46:02,531 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.messaging.destination:name=testQueue,service=Queue waiting on jboss.messaging:service=ServerPeer 2006-06-23 08:46:02,531 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.messaging.destination:name=testQueue,service=Queue on jboss.messaging:service=ServerPeer 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] starting service jboss.messaging.destination:name=requestQueue,service=Queue 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] Start requested before create, calling create now for service: jboss.messaging.destination:name=requestQueue,service=Queue 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] Creating service jboss.messaging.destination:name=requestQueue,service=Queue 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.messaging.destination:name=requestQueue,service=Queue waiting on jboss.messaging:service=ServerPeer 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.messaging.destination:name=requestQueue,service=Queue on jboss.messaging:service=ServerPeer 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] starting service jboss.messaging.destination:name=responseQueue,service=Queue 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] Start requested before create, calling create now for service: jboss.messaging.destination:name=responseQueue,service=Queue 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] Creating service jboss.messaging.destination:name=responseQueue,service=Queue 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.messaging.destination:name=responseQueue,service=Queue waiting on jboss.messaging:service=ServerPeer 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.messaging.destination:name=responseQueue,service=Queue on jboss.messaging:service=ServerPeer 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] starting service jboss.messaging.destination:name=A,service=Queue 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] Start requested before create, calling create now for service: jboss.messaging.destination:name=A,service=Queue 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] Creating service jboss.messaging.destination:name=A,service=Queue 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.messaging.destination:name=A,service=Queue waiting on jboss.messaging:service=ServerPeer 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.messaging.destination:name=A,service=Queue on jboss.messaging:service=ServerPeer 2006-06-23 08:46:02,546 DEBUG [org.jboss.system.ServiceController] starting service jboss.messaging.destination:name=B,service=Queue 2006-06-23 08:47:00,953 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] creating session transacted, UNKNOWN, XA 2006-06-23 08:47:00,953 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] created SessionDelegate[-2147483631] 2006-06-23 08:47:00,953 DEBUG [org.jboss.jms.server.endpoint.ServerConnectionEndpoint] created and registered SessionEndpoint[-2147483631] 2006-06-23 08:47:00,953 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0} 2006-06-23 08:47:00,953 DEBUG [org.jboss.jms.asf.StdServerSession] initializing (pool, session, xaSession, useLocalTX): [EMAIL PROTECTED], JBossSession-SessionDelegate[-2147483631],
[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer
| | javax.jms.JMSSecurityException: User null is NOT authenticated | at org.jboss.jms.server.security.SecurityMetadataStore.authenticate(SecurityMetadataStore.java:181) | at org.jboss.jms.server.container.SecurityAspect.check(SecurityAspect.java:252) | at org.jboss.jms.server.container.SecurityAspect.checkConsumerAccess(SecurityAspect.java:174) | at org.jboss.jms.server.container.SecurityAspect.handleGetMessageNow(SecurityAspect.java:155) | 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:324) | at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | Looks like a security configuration issue. Can you please post your login-config.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953462#3953462 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953462 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Cannot get connection to Progress 10.0B DB
jatsrt wrote : Since EJB is more Hibernate based, it being in the standardjboss.xml is less important. I have not use dit, but is there a dialect available for it? | | Also, if you have a proper driver and a proper connection URL(see your driver's documantation) it should at least start up. The mapping is only used later. I realize that, yes, there is a Hibernate dialect for it and I'm *quite* sure that in JBoss 4.0.4.RC1 there was a correct example -ds.xml file as we started looking at it then but it dropped in priority at the time. I think it was targeted for the Progress 9.1 JDBC driver but we wanted to try it anyhow - it seems that this has disappeared in the GA release. The server does start up and it accepts the ds.xml file, maps it to JNDI, etc. It's only when we attempt to use the EntityManager do we start to have the problems stated in my first post. Also, if you read my original post - w/ that driver and connection string we're successfully creating JDBC connections and executing queries manually through JDBC just fine...EJB3/Hibernate is the problem here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953463#3953463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953463 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: XMLLoginConfig not picking up my application-policy
j2ee_junkie, I must have done something wrong when creating the post, because the terminating element is in there. anil, below is the relevant trace information. It looks like it loads OK. anonymous wrote : 2006-06-26 11:05:15,553 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config as XML, url=file:/usr/local/jboss-4.0.4.GA/server/default/conf/login-config.xml | 2006-06-26 11:05:15,680 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newRoot, created PolicyConfig for policy element | 2006-06-26 11:05:15,684 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.PolicyConfig, localName: application-policy | 2006-06-26 11:05:15,684 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.PolicyConfig, AuthenticationInfo: PinkRealm | 2006-06-26 11:05:15,685 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AuthenticationInfo, localName: authentication | 2006-06-26 11:05:15,685 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AuthenticationInfo, localName: login-module | 2006-06-26 11:05:15,699 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AuthenticationInfo, login-module code: org.jboss.security.auth.spi.DatabaseServerLoginModule | 2006-06-26 11:05:15,699 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, localName: module-option | 2006-06-26 11:05:15,700 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, module-option name: dsJndiName | 2006-06-26 11:05:15,700 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] setValue.ModuleOption, name: module-option | 2006-06-26 11:05:15,700 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] addChild.AppConfigurationEntryHolder, name: dsJndiName | 2006-06-26 11:05:15,700 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, localName: module-option | 2006-06-26 11:05:15,700 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, module-option name: principalsQuery | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] setValue.ModuleOption, name: module-option | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] addChild.AppConfigurationEntryHolder, name: principalsQuery | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, localName: module-option | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, module-option name: rolesQuery | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] setValue.ModuleOption, name: module-option | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] addChild.AppConfigurationEntryHolder, name: rolesQuery | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, localName: module-option | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, module-option name: hashAlgorithm | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] setValue.ModuleOption, name: module-option | 2006-06-26 11:05:15,701 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] addChild.AppConfigurationEntryHolder, name: hashAlgorithm | 2006-06-26 11:05:15,702 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, localName: module-option | 2006-06-26 11:05:15,703 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] newChild.AppConfigurationEntryHolder, module-option name: hashEncoding | 2006-06-26 11:05:15,703 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] setValue.ModuleOption, name: module-option | 2006-06-26 11:05:15,703 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] addChild.AppConfigurationEntryHolder, name: hashEncoding | 2006-06-26 11:05:15,703 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] addChild.AuthenticationInfo, name: org.jboss.security.auth.spi.DatabaseServerLoginModule | 2006-06-26 11:05:15,703 TRACE [org.jboss.security.auth.login.LoginConfigObjectModelFactory] addChild.PolicyConfig, name: PinkRealm | According to the trace above it seems to load, but still do not see it from the JNDIView ... anonymous wrote : +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) |
[JBoss-user] [Management, JMX/JBoss] - Re: Problem locating an MBeanServer
You cannot get a reference. Instead, all operations on an mbean must be done through the MBeanServerConnection instance. Thus, to make the example method call, you would write: ObjectName name = new ObjectName(--name of your 'world' mbean--); | mconn.invoke(name, tell, null, null); See http://java.sun.com/j2ee/1.4/docs/api/javax/management/MBeanServerConnection.html for the methods on MBeanServerConnection. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953466#3953466 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953466 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - How to include ejb.jar into application.xml
I have a EJB project(name EJBProject) that contains the ejb. I am creating a new J2EE project (name J2EEPorject) to include the EJB's. On the project properties of J2EEProject, I included the EJBProject. But when I create the descriptor (application.xml), the content of the application.xml doesnot the include the EJB tags. I would appreciate if you can help me out. thanks, Sri 516-909-3164 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953467#3953467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953467 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Cannot get connection to Progress 10.0B DB
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-optional-dialects ...progress is listed here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953468#3953468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953468 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Regarding Asynchronous Continuations
Thanks Roland that clarifies everything pretty much. anonymous wrote : | Could you elaborate on this? Besides the async continuations, jBPM runs in the client thread (e.g. the webapp, fat client or whatever). It is a library, not a full separate server | Am I correct in saying that, Under Asynchronous processes, the transactions seem to be handled by the JBPM Messaging system, is the messaging system the server thread. | Similarly, under synchronous processes, the transactions seem to be forwarded off to the database server and hence, no multithreading is required on the JBPM side. Thanks, Kazam. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953469#3953469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953469 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: XMLLoginConfig not picking up my application-policy
disable html and post your loginConfig.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953471#3953471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953471 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user