[JBoss-user] [Clustering/JBoss] - Re: XAConnectionFactory not bound
Hi, I have created a test case to reproduce the warn (error). The scenario is the following: 1. Take standard all configuration from jboss-4.0.0 2. Copy jmstest.jar in the deploy directory 3. clone the all configuration twice 4. start first jboss 5. start second jboss 6. start third jboss After the third jboss has deployed the jmstest.jar the second jboss output the warn the XAConnectionFactory is no longer bounded. Now the JMS queues only work on the first and the third server. The jmstest.jar do nothing than try to bound the SendMessSes to the queue/A. You can download the jmstest.jar file from http://www.ehs.de/jmstest.jar. Thanks for helping us. Kind regards Bjoern PS: I am working on the same project as Chris. PPS: In the server.log the messages of the second server is: 2004-12-19 09:53:07,227 DEBUG [org.jboss.ha.singleton.HASingletonController] | | partitionTopologyChanged, isElectedNewMaster=false, isMasterNode=false, | | viewID=-1651571363 | 2004-12-19 09:53:19,788 DEBUG [org.jboss.remoting.network.NetworkRegistry] addServer | | - JBOSS Identity | | [address:cannes/130.83.166.180,instanceid:e34873f6f4c35c85x1893efex100e7648708x-7ffd1 | | 35,JMX | | id:130.83.166.180/1103446345885/e4350c3179b4ce87x789144x100ea87089cxX800026/1,domain: | | JBOSS] | 2004-12-19 09:53:22,750 INFO [org.jboss.cache.TreeCache] viewAccepted(): new | | members: [genua:32899, koeln:32908, cannes:32838] | 2004-12-19 09:53:23,902 DEBUG | | [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] | | _add(jboss.j2ee:jndiName=SendMessSes,service=EJB, 130.83.166.180:1099 | 2004-12-19 09:53:23,902 DEBUG | | [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] | | notifyKeyListeners | 2004-12-19 09:53:23,902 DEBUG | | [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] | | notifying 2 listeners for key change: jboss.j2ee:jndiName=SendMessSes,service=EJB | 2004-12-19 09:53:23,902 DEBUG [org.jboss.ha.framework.server.HATarget] | | replicantsChanged 'jboss.j2ee:jndiName=SendMessSes,service=EJB' to 3 (intra-view id: | | -1651571363) | 2004-12-19 09:53:23,902 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Rebinding in JNDI... | | jboss.j2ee:jndiName=SendMessSes,service=EJB | 2004-12-19 09:53:23,902 DEBUG [org.jboss.proxy.ejb.ProxyFactory] (re-)Binding Home | | SendMessSes | 2004-12-19 09:53:24,093 WARN | | [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] | | javax.naming.NameNotFoundException: XAConnectionFactory not bound | 2004-12-19 09:53:24,927 WARN | | [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] | | javax.naming.NameNotFoundException: queue not bound | 2004-12-19 09:53:24,946 WARN | | [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] | | javax.naming.NameNotFoundException: XAConnectionFactory not bound | 2004-12-19 09:53:25,111 WARN | | [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] | | javax.naming.NameNotFoundException: queue not bound | 2004-12-19 09:53:29,324 DEBUG [org.jboss.ha.framework.server.FarmMemberService] | | farmDeployments request, parentDUMap.size=1 | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859176#3859176 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859176 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Error while deploying Entitybeans with m:n relations
Hello ! Im working with JBoss 4.0, MySQL 4.0.17 and jdk 1.5 . I've created 2 Entitybeans with Eclipse and XDoclet and a n:m relationship. When Deploying the ear file i get the following error: 14:28:45,968 INFO [EARDeployer] Init J2EE application: file:/E:/JBoss/server/default/deploy/manvMAN.ear 14:28:46,328 INFO [EjbModule] Deploying DiagnoseEJB 14:28:46,375 INFO [EjbModule] Deploying PersonEJB 14:28:46,421 INFO [EjbModule] Deploying EinsatzEJB 14:28:46,437 INFO [EjbModule] Deploying SichtungEJB 14:28:46,453 INFO [EjbModule] Deploying EinsatzManager 14:28:47,140 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=ejb/SichtungEJBLocalHome,service=EJB org.jboss.deployment.DeploymentException: Error while creating table SichtungDiagnose; - nested throwable: (java.sql.SQLException: Syntax error or access violation message from server: Specified key was too long; max key length is 1024 bytes) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:540) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:302) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:484) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:381) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:157) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:340) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy71.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:394) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:242) at
[JBoss-user] [JBoss Getting Started Documentation] - Re: Java Adventure Builder
All did was to make sure jboss-web.xml and web.xml is proper for all the EARS ( I guess there are like 4 of them ) I removed all the sun implementation xmls. I don't see any way to upload the xmls !! any idea ?? Hope this helps. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859180#3859180 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859180 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - which one is the most suitable application server for ejb?
which one is the most suitable application server for ejb? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859182#3859182 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859182 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Clustered MDB's connection on new master node throws excepti
Hello, MDB deployed on all cluster nodes using HAJMS. The MDB's connection on the new master node keeps throwing exceptions: 17:34:22,442 WARN [Connection] Connection failure: org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.io.IOException: ping timeout.) at org.jboss.mq.Connection.asynchFailure(Connection.java:429) at org.jboss.mq.Connection$PingTask.run(Connection.java:1378) at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) at java.lang.Thread.run(Thread.java:534) Caused by: java.io.IOException: ping timeout. at org.jboss.mq.Connection$PingTask.run(Connection.java:1370) ... 2 more Any ideas? Regards, Eran View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859183#3859183 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859183 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Error while deploying Entitybeans with m:n relations
What are the column types in the foreign key? You should calculate the number bytes for the columns in the fk and it should be less than 1024. I don't know the details of this restriction though. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859184#3859184 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859184 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Optimistic Locking and Transaction Setup
That's right since entity beans can't be detached/reattached to a transaction. All the work must be done in the same tx. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859186#3859186 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859186 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Read only lock
The new persistence manager is in 3.2.5. But I would recommend at least 3.2.6 as there were valuable improvements in caching. The container does cache instances in case of Standard container configuration. Plus there is read-ahead cache which a per-transaction cache. Each invocation might change the persistence context either in business method or container internally by loading/initializing the instance. You can set threshold to DEBUG for org.jboss.ejb.plugins.cmp category in log4j and see what SQL container executes. ejbLoad is not called if instance is cached. In other words, if instance is in the cache it is in the ready state. I guess your instances are evicted from the cache due to reached maximum cache capacity or age out. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859187#3859187 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859187 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Entity Bean with Multiple Tables
It was never planned. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859188#3859188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859188 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Adding CMR fails
Do you have a testcase that I can run on 3.2.2 and 3.2.5 and see what you are talking about? Updates were always committed at the end of the tx in all versions or other times when synchronization is required but not after adding CMR value. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859189#3859189 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859189 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: JDBC Insert Data Not Commited
This is not JBoss-specific behaviour, this is the spec. auto-commit is set to false in a managed environment. I think, you should be able to reproduce this with pure JDBC standalone app and find out what's wrong. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859190#3859190 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859190 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Datasource under Jboss4
In a JAR? I guess, not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859191#3859191 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859191 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Read application specific config file
Yes, sure ! I have an ear containing some jar's. One jar has file message.xsl in META-INF. This file is accessed from a SessionBean out of this jar in this way: | InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream( fileName ); | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859192#3859192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859192 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: java calling .NET web service
Take a look at https://sourceforge.net/tracker/index.php?func=detailaid=1017163group_id=22866atid=376685 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859193#3859193 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859193 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: JDBC Insert Data Not Commited
[EMAIL PROTECTED] wrote : This is not JBoss-specific behaviour, this is the spec. auto-commit is set to false in a managed environment. I think, you should be able to reproduce this with pure JDBC standalone app and find out what's wrong. I know. Something in the application prevent it from reading the result of inserts. I am asking that because an application that was previously working in JBoss 3.x does no more work in 4.0. So I am assuming that some default behaviour have changed. But until now, I did not manage to figure out precisely what has changed. I have seen nothing in the JBoss wiki (JBoss4FAQ) regarding those topics. -- Mickal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859194#3859194 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859194 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: JDBC Insert Data Not Commited
Try JCA forum. Maybe Adrian can help you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859195#3859195 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859195 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: which one is the most suitable application server for ej
JBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859197#3859197 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859197 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: INSERT statement does not commit
Hello, I have the same problem with JBoss 4.0.1 latest Release Candidate and PostgreSQL 8.0. If I do a select after the insert, I see the content of the table. However, the content is never commited. I was wondering what have change between Jboss 3.2 and Jboss 4.0 that could require some change in my code ? Thank you in advance, for your help. -- Mickal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859198#3859198 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859198 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - HttpInvoker setup.
Hi all. I've been using JBoss for a while, but I'm having what I think is a beginner issue. If someone could point out what I'm doing wrong, or where in the pay documentation to find it, I'm at a complete loss. How to figure out if it's working would also be good. I'm trying to run the RMI invocations through the HttpInvoker. I'm experimenting on JBoss 3.2.5 because that's what most of our customers are using. I'm interested in getting this to work on everything 3.0.6 and later, since our customer base operates in those ranges. If, however, an older solution must be sacrificed then it will be an upgrade point. In the default (all) configuration in 3.2.5, the log shows some HttpInvokers starting up. At that point, I figured all I needed to do is specify in my jboss.xml file to use http. The app works, but I can't tell if it's going through http or not. There's nothing in the log saying which invoker except this line: 2004-12-19 15:19:32,010 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager descriptor found, null persistence will be used Somehow I don't think that has anything to do with it. Here's my jboss.xml: ?xml version=1.0 encoding=UTF-8? !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS//EN http://www.jboss.org/j2ee/dtd/jboss.dtd; container-configurations container-configuration extends=Standard Stateless SessionBean container-nameHTTP Stateless SessionBean/container-name home-invokerjboss:service=invoker,type=http/home-invoker bean-invokerjboss:service=invoker,type=http/bean-invoker /container-configuration /container-configurations enterprise-beans ejb-nameHelloBean/ejb-name jndi-nameejb/[EMAIL PROTECTED]@/jndi-name /enterprise-beans resource-managers /resource-managers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859199#3859199 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859199 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Does unauthenticated principal work with Timer service?
Nevermind, my mistake. I had a typo. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859200#3859200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859200 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Please help with ZEN of Jboss for dedicated newbie/stude
I can't remove the .sar because I'm using tomcat. How do I secure it? Where do I begin to find information on securing this. I've been on google for hours secure status servlet status secure jboss??? Do I have to secure it myself from scratch? Or is there something already there to help like in the case of the jmx-console and web-console? How about a clue? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859201#3859201 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859201 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: JSTL libraries in a common directory
Thanks, Norman! Hm, I thought I tried that. Probably I forgot to put a proper taglib element in web.xml... Anyway, it worked this time with the jar files in jboss3.2.6/server/default/lib I like this setup - if you have a lot of web applications deployed it's a good saving on JVM memory - a jar gets loaded only once. ~Vadym View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859203#3859203 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859203 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Please help with ZEN of Jboss for dedicated newbie/stude
Wake up and reread my last post and you will see that removal of the sar was not suggested. Removal of the ROOT.war in the jbossweb-tomcat50.sar was. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859204#3859204 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859204 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Please help with ZEN of Jboss for dedicated newbie/stude
Why don't you wake up and read my last post. Where do I begin to find information on securing this. I've been on google for hours secure status servlet status secure jboss??? Do I have to secure it myself from scratch? Or is there something already there to help like in the case of the jmx-console and web-console? I can't remove the ROOT.war in my situation. I'm so sorry to disturb you oh mighty one View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859205#3859205 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859205 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Generating auto incrementing filed ...
Hi all. I have JBoss 3.2.5 and MySQL 4.0 my entity bean has an auto generated field. I know how to create an auto generated field in MySQL but how to make this in JBoss ? I mean, which of JBoss specific deployment files this attribute should occure ? what is its syntax ?? another question : this entity bean has a method called : getProcudtID( ) should I declare a cmp-field element in ejb-jar.xml file like this : cmp-fieldfiled-nameproductID/field-name/cmp-field thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859208#3859208 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859208 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Please help with ZEN of Jboss for dedicated newbie/stude
Read the sticky post in the security forum on how to use JAAS to secure web applications. And lose the attitude!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859209#3859209 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859209 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - creating multiple virtual directories under jboss
Hi there, i am trying to create 2 virtual directories under jboss... i found that you need to modify C:\jboss-3.2.5\server\default\deploy\jbossweb-tomcat50.sar\META-INF\jboss-service.xml and put in a code like this : !-- Default context parameters -- !-- Add a static context /Storage using directory /tmp/images -- so iu was wondering can i add another line like this: !-- Add a static context /Storage using directory /tmp/images -- to add another virtual dir that i need? thanks =) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859210#3859210 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859210 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Question about JAAS
read the sticky post in the security forum View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859211#3859211 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859211 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: I want to secure my EJB components used by remote machin
Hi Alexander. Thanks for your opinion. However I wanted detail solution. :-) To solve this problem, I performed below steps. 1) I made a security domain.(login-config.xml) application-policy name = Extra login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required !--module-option name = unauthenticatedIdentityguest/module-option-- module-option name = dsJndiNamejava:/ExtraDS/module-option module-option name = principalsQuerySELECT PW FROM EJB_USER WHERE ID=?/module-option module-option name = rolesQuerySELECT ROLE, 'ROLES' FROM EJB_ROLE WHERE ID=?/module-option /login-module /application-policy 2) I created table for roles and users and put corresponding informations with my environment. 3) I set security domain(jboss.xml) security-domainjava:/jaas/Extra/security-domain 4) I edited a ejb.jar assembly-descriptor security-role role-nameMyRole/role-name /security-role method-permission role-nameMyRole/role-name ejb-nameFrontSample/ejb-name method-name*/method-name ejb-nameSample/ejb-name method-name*/method-name /method-permission /assembly-descriptor ... security-identityuse-caller-identity//security-identity security-role-ref role-nameMyRole/role-name /security-role-ref ... security-role-ref role-nameMyRole/role-name /security-role-ref 5) My remote client code is : lookupProp.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); lookupProp.put(Context.PROVIDER_URL, jnp:// + prop.get(SERVER_IP) + : + prop.get(LOOKUP_PORT)); lookupProp.put(Context.SECURITY_PRINCIPAL, admin); lookupProp.put(Context.SECURITY_CREDENTIALS, admin); ctx = new InitialContext(lookupProp); ... code for lookup 6) Finally, A exception message(when called create() method) is : java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: checkSecurityAssociation; CausedByException is: Authentication exception, principal=null Now, I have a question. It is how to set id and password authenticating identity. Above code(no 5) uses Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS to set id and password but as result, such approach seems invalid. Otherwise I may use LoginContext to authenticate indentity but It also seems to not support function for remote server. How can I solve this problem? Please help me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859213#3859213 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859213 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Please help with ZEN of Jboss for dedicated newbie/stude
Yeah, I read that. Merry Christmas and thanks so much for the help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859214#3859214 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859214 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Root deployment ??
When i try to add a virtual directory to jboss inside C:\jboss-3.2.5_new\server\default\deploy\jbossweb-tomcat50.sar\META-INF\jboss-service.xml, it complains that : Only the root deployment can set the loader repository, ingoring config=null wat does it mean? if i can't do it there, why should i do it? where is the root deployment? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859218#3859218 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859218 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Resource Adapter for TCP/IP request-response
I need to access an external data source via a TCP/IP connection. The request and response are simple fixed width ASCII text strings. I am having a hard time finding any examples that apply. Does anyone have a sample that does something similar? Or, do you have any suggestions for non-JCA solutions? Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859219#3859219 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859219 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Configuration of JMS on JBOSS
Hi, We are having the following error when we try to communicate to Jboss 4.0 via JNDI to create ConnectionFactory object . Here is my code. Can anybody help me out with this ? public SimpleSender() { try { QueueConnectionFactory myQConnFactory; Queue myQueue; Properties properties = new Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); properties.put(Context.URL_PKG_PREFIXES,org.jboss.naming:org.jnp.interfaces); properties.put(Context.PROVIDER_URL,jnp://localhost:1099); Context ctx = new InitialContext(properties); myQConnFactory = (QueueConnectionFactory) ctx.lookup(ConnectionFactory); myQueue = (Queue) ctx.lookup(queue/testQueue); ctx.bind(SimpleSender,myQueue); QueueConnection con = myQConnFactory.createQueueConnection(); QueueSession session = con.createQueueSession(false,Session.AUTO_ACKNOWLEDGE); TextMessage textMessage = session.createTextMessage(); QueueSender sender = session.createSender(myQueue); con.start(); for(int i=0;i10;i++){ textMessage.setText(Hello World + i ); sender.send(textMessage); } con.close(); ctx.close(); } catch(Exception ex) { ex.printStackTrace() ; } } The error that I am getting is as follows javax.naming.NameNotFoundException: ConnectionFactory not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) at org.jnp.server.NamingServer.getObject(NamingServer.java:509) at org.jnp.server.NamingServer.lookup(NamingServer.java:282) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:529) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:508) at javax.naming.InitialContext.lookup(InitialContext.java:347) at SimpleSender.(SimpleSender.java:49) at SimpleSender.main(SimpleSender.java:24) Is there anything that I missing out. Jagdish View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859220#3859220 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859220 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: java calling .NET web service
Hi I gave call.setSOAPActionURI(http://tempuri.org/HelloWorld;); and now it is working fine.. Now I face another problem. I am passing few parameters to the .NET web service from java client, i am not able to receive the parameters. Plz help me wot i have to do. Thanks Prasanna View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859221#3859221 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859221 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Is Virtual Directory mapping supported in JBoss?
Hi there, i am also trying to create a virtual directory for the purpose of integrating jboss with Report Application Server (RAS). However, when i try the code given in the forum, it doesn't work... i am using jboss 3.2.5 and tomcat 5.0. Is there any difference with the code given in the forum with different versions? and wat should i include in the ... field? i guess there must be some other codes that i need to add by myself base on the version that i am using isn't it? thanx =) chris View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3859222#3859222 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3859222 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Entity Bean deployment problem
i was just developed one entity bean(CMP for oracle) and i just want to deploy it on JBOSS after placing the my .ear (.ie ejbdeploy.ear ) in server/default/deploy folder server is stopping at the deployment of EmployeeCMP( my entity bean name) state ments at the jboss console 11:20:21,500 INFO [A] Bound to JNDI name: queue/A | 11:20:21,500 INFO [B] Bound to JNDI name: queue/B | 11:20:21,500 INFO [C] Bound to JNDI name: queue/C | 11:20:21,500 INFO [D] Bound to JNDI name: queue/D | 11:20:21,500 INFO [ex] Bound to JNDI name: queue/ex | 11:20:21,547 INFO [testTopic] Bound to JNDI name: topic/testTopic | 11:20:21,547 INFO [securedTopic] Bound to JNDI name: topic/securedTopic | 11:20:21,547 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic | 11:20:21,547 INFO [testQueue] Bound to JNDI name: queue/testQueue | 11:20:21,609 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093 | 11:20:21,656 INFO [DLQ] Bound to JNDI name: queue/DLQ | 11:20:21,672 INFO [JmsXA] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=TxCM,name=JmsXA to JNDI name 'java:/JmsXA' | 11:20:21,672 INFO [OracleDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=OracleDS to JNDI name 'java:/OracleDS' | 11:20:21,734 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/jboss-3.2.5/server/default/deploy/jmx-console.war/ | 11:20:22,344 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/C:/jboss-3.2.5/server/default/tmp/deploy/tmp34287web-console.war/ | 11:20:22,844 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.5/server/default/deploy/ejbdeploy.ear | 11:20:23,078 INFO [EjbModule] Deploying EmployeeCMP | 11:20:23,234 INFO [EjbModule] Deploying FirstSessionBean | info regarding the ejbdeploy.ear in log file | | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.factory.WebModuleFactory] Created servlet: jboss.web:j2eeType=Servlet,name=HTTP Invocation,WebModule=//localhost/web-console,J2EEApplication=none,J2EEServer=none, module: jboss.management.local:J2EEApplication=null,J2EEServer=Local,WebModule=web-console.war,j2eeType=Servlet,name=HTTP Invocation | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.factory.WebModuleFactory] Creating servlet: jboss.web:j2eeType=Servlet,name=JMS Message,WebModule=//localhost/web-console,J2EEApplication=none,J2EEServer=none | 2004-12-20 11:07:57,500 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager descriptor found, null persistence will be used | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.Servlet] postRegister(), parent: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=WebModule,name=web-console.war | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.Servlet] Created JSR-77 Servlet: jboss.management.local:J2EEApplication=null,J2EEServer=Local,WebModule=web-console.war,j2eeType=Servlet,name=JMS Message | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.factory.WebModuleFactory] Created servlet: jboss.web:j2eeType=Servlet,name=JMS Message,WebModule=//localhost/web-console,J2EEApplication=none,J2EEServer=none, module: jboss.management.local:J2EEApplication=null,J2EEServer=Local,WebModule=web-console.war,j2eeType=Servlet,name=JMS Message | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.factory.WebModuleFactory] Creating servlet: jboss.web:j2eeType=Servlet,name=JSR77 Domains and Servers,WebModule=//localhost/web-console,J2EEApplication=none,J2EEServer=none | 2004-12-20 11:07:57,500 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager descriptor found, null persistence will be used | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.Servlet] postRegister(), parent: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=WebModule,name=web-console.war | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.Servlet] Created JSR-77 Servlet: jboss.management.local:J2EEApplication=null,J2EEServer=Local,WebModule=web-console.war,j2eeType=Servlet,name=JSR77 Domains and Servers | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.factory.WebModuleFactory] Created servlet: jboss.web:j2eeType=Servlet,name=JSR77 Domains and Servers,WebModule=//localhost/web-console,J2EEApplication=none,J2EEServer=none, module: jboss.management.local:J2EEApplication=null,J2EEServer=Local,WebModule=web-console.war,j2eeType=Servlet,name=JSR77 Domains and Servers | 2004-12-20 11:07:57,500 DEBUG [org.jboss.management.j2ee.factory.WebModuleFactory] Creating servlet: jboss.web:j2eeType=Servlet,name=Create String Threshold Monitor,WebModule=//localhost/web-console,J2EEApplication=none,J2EEServer=none | 2004-12-20 11:07:57,500 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager