[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL Primary Key Problem
I have updated jbosscmp-jdbc.xml to be as follows, and I get the same behavior: Subject Subject id id name name description description Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883789#3883789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883789 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Order of Java lib loading
In my exploded SAR, I have some dependent 3rdparty libraries. What is the order of the jars loading? Is it by alphabetly? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883785#3883785 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883785 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Invoking a session bean from Message Driven Bean
For sure you can invoke a session bean from a MDB, I have experience in that. Kamal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883782#3883782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883782 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Jboss class loader issue
Scott, we read through that post. Unfortunately, although it explains a lot of the UnifiedClassLoader, there is scarcely any information or use cases on WAR deployment, in fact, it is listed in the todo list of that wiki page. Unfortunately, we are still getting class loader problems in JBoss. As stated before, we already configured JBoss not to use the JBossWebLoader and also disabled the Java2ClassLoadingCompliance. However, when a library in our web app (the jar is in /WEB-INF/lib) try to load a class via reflection, JBoss is still returning the class loaded via the UnifiedClassLoader repository. We are pretty sure the class that is being reflected resides in a jar file our web apps /WEB-INF/lib. So why is JBoss still returning this class from the UCL repo instead of our web app's class loader? We added printout statements to the class doing the class loading and re-ran the execution. The following is the print out we get clearly indicating that the class is being loaded from the UCL and not from out we app's class loader. The first line shows the class we're trying to reflect, basically the same class as the class doing the reflection (dont ask us why, not our code). The second line shows the class that was returned and its class loader. The last line is just the class loader of the class doing the Class.forName call which is the web app class loader. | [STDOUT] class com.foobar.arch.security.cinterface.environment.EnvironmentFactory - getInstance : class [class com.foobar.arch.security.cinterface.environment.EnvironmentFactory] | | [STDOUT] class com.foobar.arch.security.cinterface.environment.EnvironmentFactory - getInstance : class [EMAIL PROTECTED] url=file:/C:/DevelopmentTools/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp2016OtherApp.ear ,addedOrder=41}] | | [STDOUT] class com.foobar.arch.security.cinterface.environment.EnvironmentFactory - getInstance : this class loader[WebappClassLoader | delegate: false | repositories: | /WEB-INF/classes/ | --> Parent Classloader: | [EMAIL PROTECTED] | Please, is there any configuration in JBoss to stop this problem? We are getting ClassCastException because of this class loading problem as Java is not recognizing the same class as being equal if they are not from the same class loader. Why is JBoss still looking into the UCL for the class even though the class is already in our web app and we already disabled the UCL for our web app? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883783#3883783 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883783 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Hot Deployment For Single Context.
I will be thankful if any body clarify the below questions: 1. How To Config 3Rd Party Logging, Without Jboss Log4J 2. Apache With Jboss(Jboss Died After 600 Concurrent Hits, ). 3. Is there any facilty in jboss to restrict hot deployment for a single context? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883781#3883781 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883781 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Singleton to be used by EJB and Servlet - classloader dramas
I have a singleton that is used by the client (we have two flavours Swing and Servlet) and the server. When the classes are loaded by different JVMs (e.g. Swing client JVM and JBoss JVM) everything works fine. When we run in JBoss, the Servlet and EJBs are in the same JVM so trying to split the classloaders means that even though I can get two instances (one for server and one for client) other classes loaded by a shared classloader fail to see the singleton (of course, as they can't see back up the classloader hierachy). If I attempt to put all classes in each split classloader I get ClassCastExceptions on the EJBs because I am in the same JVM. Is there a way out of this? JBoss 3.2.5, JDK 1.3.1_02 Deploys fine in iPAS. I take it you know what splitting the classloaders means i.e. UseJBossWebLoader = false combined with Isolated = true CallByValue = true View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883780#3883780 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883780 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - 700 file handles on Error.log
After being up for 1 month, linux runs out of file handles (max 1000). There are 700 handles on jboss_home/bin/Error.log. Is this a bug? Will a trace level of FATAL minimise this? thanks Bruce View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883778#3883778 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883778 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: XAPoolDataSource
Hello, I'm not 100% certain, but you might try using the XA DataSource that ships with Pointbase (com.pointbase.xa.xaDataSource). Also, the following is cut and pasted directly from the Pointbase Developer documentation: Important Note To successfully run your XA application with PointBase, you must obtain the following two JAR files from the Sun Microsystem?s website, ?jta.jar? and ?jdbc2_0-stdext.jar? and, include them in your classpath with the PointBase JAR?s. ? Download the ?jta.jar ?at http://java.sun.com/products/jta/index.html ? Download the ?jdbc2_0-stdext.jar? at http://java.sun.com/products/jdbc/ download.html#corespec21. Hope that helps. Cheers, DavidH. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883774#3883774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883774 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: How does
OK, I have checked in the code. You can grab the cvs and build for yourself if you want. I have added a new test case FileCacheLoaderAopTest to test it out. Release 1.2.4 is scheduled for end of August now. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883771#3883771 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883771 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Deployment of EJB3Trail.ear example
I have tried to use the web-installer, but it didn't work... So I had to take the jar version. In the meantime, I became successful on my secound machine, with 90% exactly the same configurations.. Now I am sreaching the reason, why it works on my other pc, but not on my first one, with nearly the same configuration!! thanx View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883770#3883770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883770 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - taglibs not printing variable's values
I'm trying to use taglibs but am having some problems. I added an entry in my web.xml for the 'core' taglib (c.tld). I also added c.tld into the WEB-INF directory of my .war file and appserv-ext.jar, appserv-jstl.jar, and appserv-tags.jar (taken from the Sun app server) into JBoss' lib directory. In my .jsp I am trying to run the following: The forEach loops ok, but it prints ${i} to the webpage ten times instead of the value for "i" (1, 2, 3, etc.) Any ideas what's wrong? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883769#3883769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883769 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Load-Balancing SLSB
Oops, hit 'submit' instead of 'preview' anyway.. to continue: the jboss.xml for the SLSB is: | TransactionConductor | TransactionConductor | TransactionConductorLocal | True | | DefaultPartition | | org.jboss.ha.framework.interfaces.RoundRobin | | | org.jboss.ha.framework.interfaces.RoundRobin | | | The HAJNDI section of my cluster-config.xml is: | jboss:service=${jboss.partition.name:DefaultPartition} | DefaultPartition | | 192.168.225.245 | 1100 | 50 | jboss.system:service=ThreadPool | | false | ${jboss.bind.address} | 230.0.0.4 | 1102 | 16 | | 0 | | As far as I can tell, multicast is working - the DefaultPartition, etc is working with multicast, and I can ping 230.0.0.4 and get responses back from both nodes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883768#3883768 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883768 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Load-Balancing SLSB
I'm having some trouble with loadbalancing a Stateless Session Bean. What we have is two application servers running JBoss 4.0.2. An incoming webservice request arrives at either one of the JBoss nodes (via a loadbalancing device in front of them) which does some processing, and then sends a message to a JMS queue. Then an MDB picks up this message, and does some processing. As part of this, it performs several calls to a SLSB (in a loop). We would like this SLSB to be load balanced between the two JBoss nodes (via roundrobin). At the moment, all the SLSB calls run on the same node that the calling MDB runs on. I am calling the SLSB via it's remote home Failover of the MDB seems to be working correctly, as does farm deployment I am calling the SLSB thus: Properties p = new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); | p.put(Context.URL_PKG_PREFIXES,"jboss.naming:org.jnp.interfaces"); | p.put(Context.PROVIDER_URL,"192.168.225.248:1100,192.168.225.245:1100"); | | InitialContext initialContext = new InitialContext(p); | Object obj = initialContext.lookup("TransactionConductor"); | TransactionConductorHome tcH = (TransactionConductorHome) |PortableRemoteObject.narrow(obj,TransactionConductorHome.class); | TransactionConductor tc = tcH.create(); | | while (condition) { | result = tc.doTransactionRemote(request) | } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883767#3883767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883767 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Why is my EJB 3 query case-insensitive?
I'm running a query like the one below on my JBoss 4.0.3 (EJB3), and it successfully returns a DB row with name "a" for both when pname = "a" and when pname is "A" (i.e. it is case-insensitive). It is also returning the same for when pname is "a " (i.e. with trailing spaces). Any help? em.createQuery("from Item item where item.name = :name). setParameter ("name", pname). JBoss 4.0.3 against MySQL 4.1.11 (3.2.0-alpha connector) Thanks, Zorzella View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883766#3883766 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883766 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Deployment of EJB3Trail.ear example
Did you use the installer for jboss installation or the standard distribution (jboss-4.0.3RC1.tar.gz/zip)? The jboss-4.0.3RC1.tar.gz/zip does not contain EJB3 because it needs to be j2se 1.3 compatible. For 4.0.3 Final, we plan to have a seperate zip distribution built with jdk 1.5 in addition to the standard distribution. You can install JBoss using the installer via webstart here: http://jboss.sourceforge.net/jnlp/jboss-4.0.3RC1-installer.jnlp or at the normal sourceforge download site. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883765#3883765 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883765 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Deployment of EJB3Trail.ear example
I am already working with jdk1.5.0_03, and I have even tested the jdk1.5.0_04. I can not imagine, the jdk is the problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883763#3883763 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883763 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: comp not bound error
For the moment just look up the bean using the name in the global namespace. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883759#3883759 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883759 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - how to tell JBoss do not wait for startService() one mbean a
Hello all, I have one mbean (let say MyMBean) that is "slow" takes 2 min to go through startService() - by design a lot of logic is inside it. That MyBean depends from BBean that depends from ABean. MyBean --> BBean --> ABean Then I have CBean depends from BBean and DBean depends from the same BBean. CBean --> BBean and DBean --> BBean in jboss-service.xml I set those dependencies by Then at startup the JBoss waits for MyBean startService() to be completed and doesn't proceed with CBean and DBean which independent of MyBean. Any how I can tell JBoss to not wait for MyBean? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883758#3883758 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883758 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - comp not bound error
I originally posted this in the "Beginner's Corner" but did not receive any feedback. Therefore, since it is likely a JNDI related issue, I have moved my post here: I am adapting a stand-alone java application to use ejb(s). I am running from class files, not a jar. When the app attempts to get the home interface for the first session bean, the following exception is thrown: javax.naming.NameNotFoundException: comp not bound I am using the utility class generated by MyEclipse, using XDoc, to get the home interface: private static XXModelHome xxModelHome = null; static { try { xxModelHome = XXModelUtil.getHome(); } catch (Exception e) { System.out.println(e); } } The jmx-console shows, after invoking JMX MBean list(): Ejb Module: XXServer.jar java:comp namespace of the XXComponent bean: +- env (class: org.jnp.interfaces.NamingContext) java:comp namespace of the XXModel bean: +- env (class: org.jnp.interfaces.NamingContext) java:comp namespace of the XX bean: +- env (class: org.jnp.interfaces.NamingContext) Global JNDI Namespace +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) +- UserTransactionSessionFactory (proxy: $Proxy11 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) +- console (class: org.jnp.interfaces.NamingContext) | +- PluginManager (proxy: $Proxy37 implements interface org.jboss.console.manager.PluginManagerMBean) +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory) +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) +- topic (class: org.jnp.interfaces.NamingContext) | +- testDurableTopic (class: org.jboss.mq.SpyTopic) | +- testTopic (class: org.jboss.mq.SpyTopic) | +- securedTopic (class: org.jboss.mq.SpyTopic) +- queue (class: org.jnp.interfaces.NamingContext) | +- A (class: org.jboss.mq.SpyQueue) | +- testQueue (class: org.jboss.mq.SpyQueue) | +- ex (class: org.jboss.mq.SpyQueue) | +- DLQ (class: org.jboss.mq.SpyQueue) | +- D (class: org.jboss.mq.SpyQueue) | +- C (class: org.jboss.mq.SpyQueue) | +- B (class: org.jboss.mq.SpyQueue) +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) +- ejb (class: org.jnp.interfaces.NamingContext) | +- com (class: org.jnp.interfaces.NamingContext) | | +- (class: org.jnp.interfaces.NamingContext) | | | +- xxx (class: org.jnp.interfaces.NamingContext) | | | | +- server (class: org.jnp.interfaces.NamingContext) | | | | | +- model (class: org.jnp.interfaces.NamingContext) | | | | | | +- ejb (class: org.jnp.interfaces.NamingContext) | | | | | | | +- XXComponentLocalHome (proxy: $Proxy51 implements interface com..xxx.server.model.interfaces.XXComponentLocalHome) | | | | | | | +- XXComponentHome (proxy: $Proxy56 implements interface com..xxx.server.model.interfaces.XXComponentHome,interface javax.ejb.Handle) | | | | | +- ejb (class: org.jnp.interfaces.NamingContext) | | | | | | +- XXModelHome (proxy: $Proxy58 implements interface com..xxx.server.interfaces.XXModelHome,interface javax.ejb.Handle) | | | | | | +- XXHome (proxy: $Proxy60 implements interface com..xxx.server.interfaces.XXHome,interface javax.ejb.Handle) +- jmx (class: org.jnp.interfaces.NamingContext) After doing some investingation, my suspicion is that I have to create an application-client.xml file and a jboss-client.xml file. However, I haven't found enough information about where these files have to be placed (do they go in a meta-inf directory in my app's classpath??) and I don't believe I've found any examples of a jboss-client.xml file yet. I appreciate any help you can give, especially references to building and placing the xml files I noted earlier. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883757#3883757 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883757 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection not getting closed on JBOSS 4.0.1
Yes that is the correct bahaviour, the main reason you have deployed a data source that you access through JNDI is because the connections are pooled. This means that after a connection has been created it can be re-used for subsequent requests. The call to close just puts the connection back in the pool ready for another client to use it. Setting a value for the idle timeout other than 0 should see the connection closed after they have been idle for the time specified. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883756#3883756 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883756 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Deployment of EJB3Trail.ear example
You need to be using Java 1.5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883755#3883755 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883755 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Multiple Datasources
Can you post the contents of your ejb-jar.xml and wrap it in [ code ][ / code ] tags without the spaces so that it displays correctly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883753#3883753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883753 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Connection not getting closed on JBOSS 4.0.1
Hi, In order to recreate the problem of number of open connections with our application, I created a test case with a simple application. While running stress tests on this simple application I noticed that database connections are not getting closed even through the application invokes close() method on the connection obtained from the container. When I run the test with 50 concurrent users, I can see at the database end that 48 connections being created. But these connection are not getting closed even after the test is over. These connections go away only if I restart the jboss. Any help appreciated. Application code is listed below Thanks -Shaji The application is a simple struts application querying a table in oracle 9i database. Jboss 4.0.1 is running on Windows 2000 Application code that make database query is listed below public List getAllCDES(String longName) throws Exception { Connection conn = null; Statement st =null; ResultSet rs = null; List list = new ArrayList(); try { conn = SimpleDAOImpl.getConnectionFromContainer("java:comp/env/jdbc/CDEBrowserDS"); //Statement st = conn. String sqlStmt = "SELECT * FROM data_elements_view " +"WHERE long_name like '"+longName+"'"; st = conn.createStatement(); rs = st.executeQuery(sqlStmt); while(rs.next()) { DataElement de = new DataElement(); de.setLongName(rs.getString("long_name")); de.setPublicId(rs.getString("cde_id")); list.add(de); } } catch (Exception e) { System.out.println("Exception while getting CDEs"); throw e; } finally { if(st!=null) try { st.close(); } catch (Exception ex) { System.out.println("Exception while Closing st"); } if(rs!=null) try { rs.close(); } catch (Exception exp) { System.out.println("Exception while Closing rs"); } if(conn!=null) try { conn.close(); System.out.println("Connection Closed"); } catch (Exception ecexp) { System.out.println("Exception while Closing Connection"); } } return list; } public static Connection getConnectionFromContainer(String dataSourceName) throws NamingException,Exception { Connection conn = null; try { InitialContext ic = new InitialContext(); DataSource ds = (DataSource)ic.lookup(dataSourceName); conn = ds.getConnection(); System.out.println("Connected to the database successfully using datasource "+dataSourceName); } catch (NamingException ne) { System.out.println("Exception occurred in getConnectionFromContainer for DataSource name="+dataSourceName); throw new NamingException ("Failed to lookup JDBC datasource. Check the datasource name"); } catch (Exception e) { System.out.println("Exception occurred in getConnectionFromContainer"); throw new Exception("Exception in getConnectionFromContainer() "); } return conn; } Below is the oracle-ds.xml entry jdbc/CDEBrowserDS jdbc:oracle:thin:@myhost:1521:dev oracle.jdbc.driver.OracleDriver user mypassword org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter 0 0 100 0 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883752#3883752 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883752 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - problem w/ OracleValidConnectionChecker
Using: JBoss 3.2.6 Java 1.4.2_05-b04 Oracle: 9.2.0.1.0 Oracle driver: 9.0.2.0.0 I'm trying to use the OracleValidConnectionChecker, but get the exception below when a connection is requested. >From the error and taking a look a the OracleValidConnectionChecker, it looks >like Connection being passed in, isnt' really an Oracle connection. Ideas? My datasource config looks like: | | | | SonusInsightDS | jdbc:oracle:thin:@10.6.20.110:1521:DADB | oracle.jdbc.driver.OracleDriver | dbimpl | dbimpl | 1 | 2 | 240 | | | org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker | | 2005-07-05 16:14:55,185 WARN [org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker] Unexpected error in pingDatabase java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker.isValidConnection(OracleValidConnectionChecker.java:51) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:458) at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:284) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:190) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:166) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:444) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:429) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:887) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883751#3883751 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883751 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Two sites with different keystores... Nobody has done this?
Hasnt anyone ever tried connecting to two different sites using SSL using different keystore files for each of them? Any help would be greatly appreciated! Many Thanks, Vaughn I am trying to interract with an external UDDI server for discovery (with its own keystore) and then, subsequently, with the JBoss server (using its keystore). The interraction with the UDDI server comes off without a hitch. When I try creating and using an InitialContext (using the second JBoss keystore) is where the problem comes in. Simply changing the "javax.net.ssl.trustStore" property back and forth does not help. Finally I tried this route: private SSLContext getSSLContext(String keyStoreName, String password) throws Exception { InputStream in = new FileInputStream(keyStoreName); char[] passwordChars = password.toCharArray(); KeyStore ks = KeyStore.getInstance("JKS"); ks.load(in, passwordChars); KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509"); kmf.init(ks, passwordChars); SSLContext context = SSLContext.getInstance("TLS"); context.init(kmf.getKeyManagers(), null, null); Arrays.fill(passwordChars, (char)'x'); return context; } and added this: sslContext = this.getSSLContext(myProp, "mycrypticpassword"); ... to my context settings: contextSettings.put(Context.SECURITY_CREDENTIALS, sslContext); ... initial = new InitialContext(contextSettings); I read that this would then cause the truststore specified for the ssl context to be used when I interracted with the server. This did not work. I printed out the verbose SSL logging and the frustrating part is that all seems well: Keystore type: JKS Keystore size: 1 Keystore provider: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores) Alias: tomcat Cert type: X.509 adding as trusted cert: Subject: CN=JBI Crew, OU=Generic JBI Platform SSL Key, O=Any JBI Platform, C=US Issuer: CN=JBI Crew, OU=Generic JBI Platform SSL Key, O=Any JBI Platform, C=US Algorithm: RSA; Serial number: 0x3eb01348 Valid from Wed Apr 30 14:17:44 EDT 2003 until Thu Jun 23 10:57:12 EDT 2044 NUM TRUST MANAGERS: 1 trigger seeding of SecureRandom done seeding SecureRandom SSLContext: Protocol: TLS Protocol: TLS Provider Info: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust factories, SSLv3, TLSv1) %% No cached client session *** ClientHello, TLSv1 RandomCookie: GMT: 1103215747 bytes = { 216, 101, 177, 237, 63, 248, 63, 18, 173, 3, 20, 150, 223, 12, 76, 27, 114, 118, 226, 131, 8, 12, 162, 170, 126, 214, 190, 35 } Session ID: {} Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA] Compression Methods: { 0 } *** main, WRITE: TLSv1 Handshake, length = 73 main, WRITE: SSLv2 client hello message, length = 98 main, READ: TLSv1 Handshake, length = 769 *** ServerHello, TLSv1 RandomCookie: GMT: 1103215747 bytes = { 242, 209, 236, 103, 8, 124, 51, 48, 247, 70, 162, 215, 101, 49, 191, 107, 61, 85, 61, 35, 83, 34, 41, 100, 21, 252, 112, 9 } Session ID: {66, 194, 189, 131, 216, 45, 94, 131, 31, 112, 29, 145, 89, 252, 233, 34, 55, 191, 86, 206, 129, 38, 10, 145, 212, 18, 132, 193, 5, 106, 121, 158} Cipher Suite: SSL_RSA_WITH_RC4_128_MD5 Compression Method: 0 *** %% Created: [Session-2, SSL_RSA_WITH_RC4_128_MD5] ** SSL_RSA_WITH_RC4_128_MD5 *** Certificate chain chain [0] = [ [ Version: V1 Subject: CN=JBI Crew, OU=Generic JBI Platform SSL Key, O=Any JBI Platform, C=US Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4 Key: SunJSSE RSA public key: public exponent: 010001 modulus: ... 061 Validity: [From: Wed Apr 30 14:17:44 EDT 2003, To: Thu Jun 23 10:57:12 EDT 2044] Issuer: CN=JBI Crew, OU=Generic JBI Platform SSL Key, O=Any JBI Platform, C=US SerialNumber: [ 3eb01348] ] Algorithm: [MD5withRSA] Signature: ... .h ] *** UNTIL: main, SEND TLSv1 ALERT: fatal, description = certificate_unknown When I use the server keystore that we created for our JBoss server to interract with native JUDDI and to interract with our sessions all is well AND the SSL logging is identical other than RandomCookie and SessionID: %% No cached client session *** ClientHello, TLSv1 RandomCookie: GMT: 1103208181 bytes = { 112, 147, 246, 112, 216, 61, 15, 64, 204, 84, 246, 7, 194, 171, 46, 211, 114, 209, 75, 3, 64, 154, 195, 17
[JBoss-user] [Persistence & CMP/JBoss] - Re: Multiple Datasources
I checked my descriptors and there is nothing about the hypersonic DB... Can somebody give tell me the steps to perform? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883749#3883749 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883749 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Hey ... I need a complete example of web service ... could y
Anyone could help me .. i was starting with webservices and i could not find a complete tutorial .. HELP!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883744#3883744 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883744 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBOSS doen't deploy webservice
Hi All, I deployed a ear file which is having a webservice, into jboss server version 4.0.2,but it didn't deploy the webservice at all(I mean it doesn't show the url of the WSDL file on console) and it didn't throw any error message also.what is the problem for this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883743#3883743 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883743 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBossWS Client complains of log4j No engine configuration f
After several hours figuring out what jar files to include in my JBossWS client and other issues related to insufficient and outdated documentation on JBoss 4.0.2 Web Services, I run my stand-alone client application and it throws an exception: log4j:WARN Please initialize the log4j system properly. org.jboss.axis.InternalException: org.jboss.axis.ConfigurationException: org.jboss.axis.ConfigurationException: No engine configuration file - aborting! I'm not sure what this is and if I have even included the proper jars. code snippet: import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.rpc.Call; import javax.xml.rpc.Service; import javax.xml.rpc.ServiceFactory; import java.net.URL; URL wsURL = new URL "http://www.webservicex.net/globalweather.asmx";); String ns = "http://www.webserviceX.NET";; QName qname = new QName(ns, "GetInfoByZIP"); QName port = new QName(ns, "USZipSoap"); QName operation = new QName(ns, "GetInfoByZIP"); ServiceFactory factory = ServiceFactory.newInstance(); Service service = factory.createService(wsURL, qname); CRASHES AT THIS POINT. Any suggestions? Thanks, Herb View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883742#3883742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883742 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss4.0 and JAAS/Login-config.xml
You appear to be missing the root nodes in your login-config.xml document, as defined in the DTD: http://www.jboss.org/j2ee/dtd/security_config.dtd Dave View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883741#3883741 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883741 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Unable to deserialize simple arrays of int and String
Hi, I thought that it would be easy to pass arrays of int and java.lang.String. I looked at http://wiki.jboss.org/wiki/Wiki.jsp?page=WSArrayTypeMapping but that seems to apply to custom data types. However, on my client, I always get: deserialization error: unexpected XML reader state. expected: END but found: START: item at com.sun.xml.rpc.encoding.literal.LiteralResponseSerializer.deserialize(LiteralResponseSerializer.java:331) at com.sun.xml.rpc.client.dii.CallInvokerImpl._readFirstBodyElement(CallInvokerImpl.java:285) at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:215) at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:79) at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:476) at com.sun.xml.rpc.client.dii.CallInvocationHandler.doCall(CallInvocationHandler.java:121) at com.sun.xml.rpc.client.dii.CallInvocationHandler.invoke(CallInvocationHandler.java:85) at $Proxy0.getStringArray(Unknown Source) at com.cybertrust.rmp2.test.wsee.WebServicesTestClient.main(WebServicesTestClient.java:63) I see the following log messages during startup: 15:02:37,636 DEBUG [AxisService] deployService: rmp.ear/rmp.jar#WebServicesTest 15:02:37,788 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://interfaces.rmp2.cybertrust.com/types/arrays/}intArray 15:02:37,788 DEBUG [ServiceDescription] Guessing the javaType from typeQName: {http://interfaces.rmp2.cybertrust.com/types/arrays/}intArray -> com.cybertru st.rmp2.interfaces._arrays.intArray 15:02:37,809 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://interfaces.rmp2.cybertrust.com/types/arrays/java/lang}StringArray 15:02:37,810 DEBUG [ServiceDescription] Guessing the javaType from typeQName: {http://interfaces.rmp2.cybertrust.com/types/arrays/java/lang}StringArray -> com.cybertrust.rmp2.interfaces._arrays.java.lang.StringArray 15:02:37,852 WARN [TypeMappingDescription] Class not found: com.cybertrust.rmp2.interfaces._arrays.java.lang.StringArray 15:02:37,853 WARN [TypeMappingDescription] Class not found: com.cybertrust.rmp2.interfaces._arrays.intArray 15:02:37,857 INFO [AxisService] WSDD published to: /home/bsheward/rmp2/rmp2/jboss/server/dev/data/wsdl/rmp.ear/rmp.jar/WebServicesTest.wsdd I'm using wscompile to generate the WSDL and I need to interact with clients that aren't Java based, so I don't think a JNDI based solution will be suitable. Do I really need to implement classes to be able to use simple arrays of int and java.lang.String types? I checked the packets and the XML shows the arrays seem to be coming from the server: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> http://interfaces.rmp2.cybertrust.com/";> http://schemas.xmlsoap.org/soap/encoding/"; soapenc:arrayType="xsd:string[2]"> element 1 element 2 Thanks, Barry View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883740#3883740 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883740 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: servlet mapping
sorry, i meant to say that http://host/myapp/a/myservlet and http://host/myapp/b/myservlet be mapped to the same servlet. however, i want to avoid have to hardcode the context subpath "a" and "b" in web.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883739#3883739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883739 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Problem with automatically exploded .sar file
As it turns out, rewriting the code was a better option than manually exploding the .sar file each time, so that is what we did. The underlying code was using classLoader.getResource(filename) which we were able to change to classLoader.getResourceAsStream(filename) The first call gets a URL, and the second an Input Stream. When the first bit of code is called with "bar.xml", it fails while looking for: C:\jboss-4.0.1sp1\server\default\tmp\deploy\tmp20951foo.sar-contents\bar.xml It can't find the file, because it is not unpacked into the temp directory.. The second one finds the file, without looking in the temporary directory, by getting it directly from foo.sar. I still don't know why the .ear file is fully exploded into it's temporary directory, and the .sar file is only partially exploded (only .jar files.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883738#3883738 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883738 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JDK vs. JRE
Yes, what you're looking for is the J2SDK (Java 2 Software Developement Kit)... it used to simply be called the JDK (Java Development Kit). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883737#3883737 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883737 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.2 and Jetty 5.1.4 problem (yes i have looked a
FYI, jboss-ws4ee.sar contains jboss-ws4ee.war, which contains the invalid web.xml that was being referred to in previous posts. A fix for this was subsequently checked into jboss CVS and should have been included in 4.0.3RC1. I suggest you try jboss-4.0.3RC1. You'll probably still need to comment org.jboss.web.tomcat.tc5.StatusServlet out of web-console.war's web.xml file since I don't think the jboss folks plan to de-couple jboss from tomcat there. This has been covered in the following posts: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63712 http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63494 If you still have problems/errors after following the steps outlined in the above-mentioned posts, I suggest you post to the Jetty mailing lists. (they still actively support integration with jboss) Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883735#3883735 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883735 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JDK vs. JRE
where is the JDK download? If you check out: http://public.planetmirror.com/pub/java-sun/JDK-1.4.2_04/linux/ you'll see only JRE and SDK? where's the JDK for 1.4.2_04 thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883734#3883734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883734 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Questions about the Wiki Page WSServerEJB
Claire, Thanks. I'm now able to call a really simple web service. I think the problem was that I had a lot of these files at the EAR level, rather than the JAR level. Once I changed things to: test.ear test.ear/META-INF/MANIFEST.MF test.ear/META-INF/application.xml test.ear/test.jar test.ear/test.jar/META-INF/MANIFEST.MF test.ear/test.jar/META-INF/webservices.xml test.ear/test.jar/META-INF/jboss.xml test.ear/test.jar/META-INF/ejb-jar.xml test.ear/test.jar/META-INF/jaxrpc-mapping.xml test.ear/test.jar/META-INF/wsdl/servicesfilename.wsdl things started working! Thanks for your help, Barry View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883733#3883733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883733 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Thomas, Re: | ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); | Service service = factory.createService(wsdlURL, qname, mappingURL, portName); | I can't see anything in javax.xml.rpc.ServiceFactory which resembles the createService() method shown above. What implementation of ServiceFactory are you talking about? Is this JBoss specific code? Finally, can this technique be used with non-DII implementations? My code is something like: | URL url = new URL( urlstr ); | QName qname = new QName( SESSION_URN, serviceName ); | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(url, qname); | WebServicesTest svc = (WebServicesTest) service.getPort(WebServicesTest.class); | System.out.println( "output:" + svc.getStringArray() ); | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883729#3883729 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883729 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Can't get ssl redirection to work properly
Do you have something like | FORM | mbi | | /faces/Login.jsp | /faces/LoginError.jsp | | | in web.xml ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883731#3883731 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883731 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss-web.xml location
jboss-web.xml has to be in directory WEB-INF, same as for web.xml. Make shure that you are using capital letters ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883727#3883727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883727 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss as a JavaService fails to boot
Here is the link to some instructions that I have tested in the past: - http://wiki.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows The main differences I can see are the differences in the classpath and the arguments passed to the main method, if you are starting the default configuration you do not need to specify it is the default. I have never tried the command with nested environment variables, I have always just entered the full paths. Also once the service is registered the environment variables are irrelevent. Finally when I have seen people trying to use the JDK installed with another application server I have seen mixed results. I do not have the Sun application server installed at the moment so I can't see if there is anything conflicting within the installation. You should try just installing the JDK on its own. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883726#3883726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883726 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JDK vs. JRE
JRE is part of the JDK. Set the environment variable JAVA_HOME to the directory containing the JDK. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883725#3883725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883725 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Trace the source of access attempts to the JBoss console
We have configured basic authentication for the JBoss console and have redirected the logon attempts to a new log file instead of the server.log file by including this code in log4j.xml: | | | | | | But we need to trace the source (e.g. source IP address) of console logon attempts, like WebLogic's access.log. Is there any way to do this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883724#3883724 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883724 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JDK vs. JRE
Upon running the initial run.sh to test if JBOSS has been installed properly I get: run.sh: Missing file: /lib/tools.jar run.sh: Unexpected results may occur, Make sure JAVA_HOME points to JDK and not JRE. I thought the JDK was part of the JRE. I have an installed JRE and SDK. thanks for any help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883723#3883723 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883723 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Running JBoss as a Windows service
I am not sure if my problem is with JBoss or is with Window service. Please advise me. Here is the problem: In one servlet, we launch an executable (myTool.exe) using System.out.println(s); where s="cmd.exe /C myTool.exe some_options" This myTool.exe uses some script to invoke Adobe Reader to do something with PDFs. When I start JBoss with run.bat from the command line, everything works. Each time a PDF is processed, Adobe Reader pops up on my desktop and the job is done nicely. But, when I start JBoss as a Windows service, this tool doesn't work. When a PDF is to be processed, Adobe Reader doesn't pop up. We believe that being a Windows service, JBoss doesn't know how to interact with desktop or doesn't know how to invoke Adobe Reader. Is this true? How do I make it work? Any idea and help will be greatly appreciated! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883722#3883722 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883722 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Hi All, Thanks to you all for your support.Finally this problem is resolved.But I have a situtaion.I was porting this webservice on another jboss server,but that server didn't start the webservice at all.It din't show the wsdl file at all.It doesn't throw any exception also.What could be the problem.I am using same jboss versions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883719#3883719 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883719 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Saving hibernate object throws IllegalArgumentException
I was able to resolve my problem with the help of the post by kaba in this topic in the hibernate forums: http://forum.hibernate.org/viewtopic.php?t=943266 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883716#3883716 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883716 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - acessing log4j.xml
I have an ear which contains an har,jar and war... And i am using log4j for logging. I want a single log4j.xml file in my ear so my web and ejb application can acess it. how do i go about it. and how do i acess the xml file in the code DOMConfigurator.configureAndWatch("/home/verne/workspace/TxChangeFinal/bin/WEB-INF/log4j.xml",1); sincerely verne View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883714#3883714 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883714 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDLException deploying jBPM BPEL Extension
Hi John, The BPEL library applies a xsl transformation to wsdl files in order to upgrade its bpel extensible elements. If you are running on jvm 1.5, the xsl template used doesn't work with the underlying implementation of javax.xml.transform.Transformer We'll try to fix the template in the next release. For now, you can solve the problem by including xalan.jar in the wsdlgen.classpath of build.xml: Please post any future questions / comments on the jbpm user forum: https://sourceforge.net/forum/forum.php?forum_id=240085 regards, Juan Cantu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883711#3883711 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883711 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss as a JavaService fails to boot
I am attempting to configure JBoss to run as a Windows Service. Following the advice and info I've been able to find on the web, I was able to get it running finally. However, it won't completely load. The service starts fine, I can't connect to the JMX console. Upon further investigation, I discovered that the error log contained the following: Failed to boot JBoss: java.lang.ClassNotFoundException: org.jboss.system.server.ServerInfo at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClass(UnifiedLoaderRepository3.java:593) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1192) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:233) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:279) at org.jboss.system.server.ServerImpl.createMBean(ServerImpl.java:495) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:387) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315) at org.jboss.Main.boot(Main.java:195) at org.jboss.Main$1.run(Main.java:463) at java.lang.Thread.run(Thread.java:534) I've double-checked my JBOSS_HOME and JAVA_HOME environment variables and done everything else I can think of to figure out why this exception is occurring. JBoss runs fine when started from the command line via the run.bat file, so I know my installation is good. I performed the following steps to install JBoss service: 1) Download and unpack the JavaService utility from http://forge.objectweb.org/projects/javaservice 2) Copy the JavaService.exe file to JBoss bin directory and rename it to JBossService.exe 3) After considerable trial and error, and lots of Googling, I came up with the following install batch to actually install the service echo off setlocal JAVA_HOME setlocal JBOSS_HOME set JAVA_HOME=c:\Sun\AppServer\jdk set JBOSS_HOME=c:\jboss-4.0.2 if "%JAVA_HOME%" == "" goto help if "%JBOSS_HOME%" == "" goto help net stop JBoss JBossService -uninstall JBoss JBossService -install JBoss %JAVA_HOME%\jre\bin\server\jvm.dll -Xms192m -Xmx256m -Djava.class.path=%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar;%JBOSS_HOME%\bin\shutdown.jar;%JBOSS_HOME%\lib\dom4j.jar -start org.jboss.Main -params -c Default -stop org.jboss.Main -method systemExit -out %JBOSS_HOME%\bin\out.log -err %JBOSS_HOME%\bin\err.log -current %JBOSS_HOME%\bin net start JBoss goto end :help echo The environment variables %JAVA_HOME% and %JBOSS_HOME% have to be set, echo JavaService.exe and this script have to be in %%JBOSS_HOME%%\bin. echo. echo The Service has NOT been installed echo. echo JAVA_HOME = %JAVA_HOME% echo JBOSS_HOME = %JBOSS_HOME% echo. :end 3) I also verified the values of JAVA_HOME and JBOSS_HOME environment variables, and rebooted just to be sure. The service runs fine, but the error log contains the previously posted exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883706#3883706 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883706 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: How does
Release 1.2.4 is scheduled at the end of August for now. But you are welcome to try out the development version once I get it fixed. Stay tune, -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883704#3883704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883704 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: org.jboss.cache.lock.TimeoutException
If you update on both nodes, locks will be acquired in both places. So it depends on where O1 and O2 are located? If they are under the same fqn, yes, you will have deadlock and rollback will be resulted. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883703#3883703 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883703 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: How does
Great news! Is there a scheduled build release coming soon after? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883700#3883700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883700 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Problem with Euro and Yen currency characters
hi 1: how do you export into an excel sheet? 2: if you write a simple text file with the same application is the euro and yen character in the text file? 3: simple code to read a file with euro and umlauts | public String readISO8859Message(String filename) { | | String fileStore = new String(); | Charset charset = Charset.forName("ISO-8859-1"); | //Charset charset = Charset.forName("ISO-8859-15"); | CharsetDecoder decoder = charset.newDecoder(); | CharsetEncoder encoder = charset.newEncoder(); | | try { | | FileChannel inCh = (new FileInputStream(filename)).getChannel(); | int size = (int) inCh.size(); | | //log.debug("Filesize: " + size); | | ByteBuffer buf = ByteBuffer.allocate(size); | CharBuffer cbuf = CharBuffer.allocate(size); | inCh.read(buf); | buf.rewind(); | decoder.decode(buf, cbuf, false); | cbuf.flip(); | cbuf.rewind(); | fileStore = cbuf.toString(); | inCh.close(); | | | } catch (Exception ex) { | //log.error(ex.toString()); | | } | | return fileStore; | } | cheers L View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883693#3883693 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883693 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - org.jboss.cache.lock.TimeoutException
Hi, I get a org.jboss.cache.lock.TimeoutException in the following scenario: 1. I have 2 cluster nodes: N1 and N2 2. I have 2 caches: C1 and C2 (both started on both cluster nodes) 3. I start a new transaction on node N1 3.1 I put O1 in C1 3.2 I put O2 in C2 4. A listener on C2 is called on node N2 (after I put O2 in C2 on N1 - step 3.2) 4.1 I read O1 (a get call) from C1 - at this point I receive the TimeoutException with details saying that node N1 has already the write lock for O1 so that N2 can not acquire read lock for O1. Is this the expected behaviour? Is this a defect? Reading O2 from C2 from the C2 listener on N2 (in step 4.1) works but reading O1 from C1 from the C2 listener on N2 leads to deadlock. I would expect that both should work. I hope someone can give me some explanations for this scenario. Thanks, Claudiu Anghel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883692#3883692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883692 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: could not instantiate CacheProvider: net.sf.hibernate.ca
I'm having the same problem and when I look in the ehcache-1.1.jar the ehcache-failsafe.xml file is there. Would someone please tell me how to fix this WARN! SPECIFIC LOG MESSAGE: WARN [Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml faound in the classpath: jar:file:/jboss-4.0.2/server/default/lib/ehcache-1.1.jar!/ehcache-failsafe.xml I think this is causing the Session Factory to not bind to JNDI View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883691#3883691 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883691 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Unable to download few files
I spent a good chunk of the holiday weekend getting Portal to work. The first thing I did was download both JBoss and Portal distribution - but the way this was set up, you really couldn't follow along with the user's guide. So I downloaded JBoss 4.0.3 separately, got that working good with no errors in the log and then installed the separate JBoss Portal and JBoss Portal Forums and followed along with the User's guide. http://jboss.com/products/jbossportal/downloads It sounds like you downloaded Both JBoss and the Portal. Take a look at the downloads area again. Scott View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883689#3883689 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883689 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Log and web.xml
Hello, I have a problem when i deploy a web application (based on Struts framework) When jboss loaded my WAR application, i obtain this resultat in my console anonymous wrote : | 16:33:38,812 INFO [TomcatDeployer] deploy, ctxPath=/ressources, warUrl=file:/D:/ProgramFiles/jboss-3.2.7/server/all/tmp/deploy/tmp10541Cochise.ear-contents/CochiseRessources.war/ | 16:33:39,000 INFO [STDOUT] 16:33:39,000 debug [StandardContext] AddChild jboss.web:type=Host,host=localhost StandardContext[/ressources] | 16:33:39,000 INFO [STDOUT] 16:33:39,000 debug [Context] Starting tomcat.localhost./ressources.Context | 16:33:39,015 INFO [STDOUT] 16:33:39,015 debug [Context] Configuring default Resources | 16:33:39,031 INFO [STDOUT] 16:33:39,031 debug [Context] Processing standard container startup | 16:33:39,078 INFO [STDOUT] 16:33:39,078 debug [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' | 16:33:39,218 INFO [STDOUT] 16:33:39,218 debug [Context] Setting deployment descriptor public ID to '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' | 16:33:39,234 INFO [STDOUT] 16:33:39,234 debug [ManagerBase] Registering jboss.web:type=Manager,path=/ressources,host=localhost | 16:33:39,234 INFO [STDOUT] 16:33:39,234 debug [ManagerBase] Force random number initialization starting | 16:33:39,234 INFO [STDOUT] 16:33:39,234 debug [ManagerBase] Getting message digest component for algorithm MD5 | 16:33:39,234 INFO [STDOUT] 16:33:39,234 debug [ManagerBase] Completed getting message digest component | 16:33:39,234 INFO [STDOUT] 16:33:39,234 debug [ManagerBase] getDigest() 0 | 16:33:39,234 INFO [STDOUT] 16:33:39,234 debug [ManagerBase] Force random number initialization completed | 16:33:39,234 INFO [STDOUT] 16:33:39,234 debug [ManagerBase] Start: Loading persisted sessions | 16:33:39,234 INFO [STDOUT] 16:33:39,234 debug [ManagerBase] Loading persisted sessions from SESSIONS.ser | two informations : - why my log INFO encapsule a log DEBUG - where is th param to to avoid posting this log This is a part of my web.xml : | | action | org.apache.struts.action.ActionServlet | | | config | /WEB-INF/struts-config.xml | | | | validating | false | | | | xxx | xxx | | | | debug | 0 | | | | detail | 0 | | | 1 | | Thks for your help Franck View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883687#3883687 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883687 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: restriction base='soapenc:Array' in WSDL
Thanks for your quick answer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883686#3883686 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883686 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Location of your jaxrpc-mapping.xml file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883684#3883684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883684 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Hi Thomas, [Code: ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); Service service = factory.createService(wsdlURL, qname, mappingURL, portName); ] Thanks for your reply.I will try this.what is the mappingUrl ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883683#3883683 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883683 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Problem with Euro and Yen currency characters
Hi All, I'm trying to export the application data into excel sheet. When i do the export of the currency symbols, it is not getting exported and displaying a blank characters in excel. Any one of you, can help me to solve this issue? Here the details, what i've tried, I passed the java -Dfile.encoding parameter with this UTF-8/Cp1252 values, it started but it didn;t export. And when i tried to pass the value as "Unicode", jboss didn;t startup and it throws exception. I tried the same by setting in the java code also. Application running under Jboss 4.0.1 and Windows XP platform. -MS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883682#3883682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883682 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - EJB 3 / Hibernate
Hi I was reading the persistence related TrailBlazers yesterday and I have a question I am hoping someone here may able to help with. >From what I read it seems that I could code my persistence using EJB3, and at the same time be able to deploy the application outside of a J2EE application server using Hibernate3 which supports the EJB 3.0 mapping annotations. What I am wondering is if anyone knows wether or not the EJB3.0 annotations are complete or will I have to use Hibernate specific extensions? Thanks. Hani View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883681#3883681 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883681 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Unable to download few files
Hi, I am beginner to JBoss Portal.And downloaded JBoss portal from the site but I was not able to find some files as portal-forums.ear, portal-ds.xml,cms-content.zip and setup.ddl.Please can anyone help me regarding this. Regards, brp View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883679#3883679 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883679 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Where are the jboss axis packaged
Thanks for the reply. Can you point me to how you would call a web service from a JSP page using JbossWS client implementation. I would also like to know where any imported libs are packaged. Thank You, Herb View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883677#3883677 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883677 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Where are the jboss axis packaged
The classes live in axis-ws4ee.jar. Are you sure you cant use J2EE-1.4 compliant webservices with JBossWS? It has a very neat client deployment model useable from jsp pages as well. JBoss.NET is dead. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883675#3883675 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883675 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: restriction base='soapenc:Array' in WSDL
The second version is BP-1.0 compliant the first is not since it uses soap encoding, which is not allowed by the profile. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883671#3883671 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883671 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: How to specify ctxPath for ejb endpoint web service
>From jboss_4_0.dtd View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883670#3883670 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883670 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Namespace problems invoking document/literal web service
This is beeing addressed by our new SOAP stack JBossWS, which is available in HEAD and will hopefully get backported to jboss-4.x in Q3/2005 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883669#3883669 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883669 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
In future versions we might auto-discover jaxrpc-mapping.xml http://jira.jboss.org/jira/browse/JBWS-314 IMHO, this is a flaw in the jaxrpc API that forces a provider to generate static stubs. The wsdl/java mapping is however defined in JSR-109 and should be usable with jaxrpc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883668#3883668 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883668 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Performance is very poor
Hi, I'm evaluating JBoss and, one of the first things I made is to do two tests, writing and reading big amounts of data. (Jboss 4.0.2 and Oracle) - Writing a few thousands of rows to a simple table is very slow. I have a client, calls a simple stateless session bean, and it sends the data using RMI-IIOP. Client side finishes its job pretty quickly, but as I observe JBoss console I see only a few records written to database per second, and it goes like that for almost an hour. - Reading 10.000 records (using a simple findAll EJB-QL) from a simple table (only one relation) takes about 10 seconds. I think this is unacceptably slow. I have checked out some documents and tried a few read-ahead parameters but it only improved a few seconds. Is there something I'm doing wrong? What is the best way to read a simple, yet very crowded (tens of thousands of records) tables? regards, Mehmet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883667#3883667 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883667 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: could not find deserializer for type
Your client is aware of the wsdl, which defines the abstract contract, but is unaware of the java/wsdl mapping information. Use the WS4EE client deployment model, i.e. a JNDI lookup of a preconfigured stub or use | ServiceFactoryImpl factory = (ServiceFactoryImpl )ServiceFactory.newInstance(); | Service service = factory.createService(wsdlURL, qname, mappingURL, portName); | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883665#3883665 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883665 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JBoss 4.0.2 CreateException
Thanks for the help. I am going to stick with 4.0.1 for now and try 4.0.3 when it comes out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883664#3883664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883664 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Starting from jboss-4.0.2 we use org.jboss.axis
Prior to JavaOne 2004 we had to modify the last stable axis (axis-1.1) release considerably to achieve J2EE-1.4 compliancy for web services. Axis-1.2beta was technically not usable at the time. The current implementation in jboss-4.x passes >2200 web service tests from Sun's compatibility test suite. It is also BasicProfile-1.0 compliant. After certification we immediatly retired the modified axis version and put it into maintenance. Instead we've been developing our own SOAP stack (JBossWS) that is available in jboss-5.x People continously try to drop axis binaries into jboss and hope to use that as the basis for J2EE web services, which simply won't work because all the required hooks and enhancements are missing. We changed the package name to get better class isolation because of that. For our customers we support org.jboss.axis and not org.apache.axis There is no political reason. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883663#3883663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883663 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDLException deploying jBPM BPEL Extension
This has been assigned to http://jira.jboss.org/jira/browse/JBPM-279 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883662#3883662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883662 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - unclosed connections
Hi, is it possible with 3.2.6 version to tell JBoss to keep track of unclosed connections ? I'm not using EJB in my applications but simple JDBC prepared statement. I would like to know, If the application does not close the connection, where it happens. Thanks a lot. Alfredo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883659#3883659 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883659 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - multi-tenant application with jboss
I have one ear file and separate war file for each instance. I have successfully created multiple instances. Like i can open application with http://domain.com:8080/appname and http://domain1.com:8080/app1name. Then i want to connect to different database using each instance. Now using instance-service.xml i have deployed for each instance but jboss is connecting to only one database. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883660#3883660 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883660 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Remove Jetty from Jboss 3.0.8
can anybody please tell me steps to configure tomcat 4.1 with jboss 3.0.8. I do not want to use integrated jboss and tomcat. Also plz tell me what is difference between integrated tomcat with jboss and separate jboss with tomcat. Thanks in Advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883657#3883657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883657 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - restriction base='soapenc:Array' in WSDL
Hi , I am using JBoss4.0.2 and should make WEB Service which has WSDL | | | | | | | | | | | | | When I try JWSDP (wscompile, wsdeploy) and receive | | | | | | | | | | | How to do restriction base="soapenc:Array" in WSDL? Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883656#3883656 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883656 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Client side JAX-RPC handler
What part of the step by step wiki is unclear? http://wiki.jboss.org/wiki/Wiki.jsp?page=WSRPCClientStepByStep View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883655#3883655 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883655 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Class loading ...
Here is the deal ... I read that if I put into my jboss-service.xml file in ma .sar folder in my server/{instance}/deploy folder this will load all my .jar files needed for my app to run .. well .. this is not happening .. and I would really like to know why .. since I'm a newby and this is bothering me for a week now .. and I really dont have a clue of how to do this, I hope someone here might help I'm developing on win xp with jboss_4_0_2_rc1 10x bye Armando View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883652#3883652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883652 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Class loading ...
| | | | | this is missing in the previous post !!! bye Armando View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883654#3883654 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883654 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: How to specify ctxPath for ejb endpoint web service
Hi, I've done this to change the context path for services. However, where can I get detailed guide to jboss.xml? Many thanks, Claire. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883653#3883653 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883653 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: HotSpot Virtual Machine Error
I have created a very simple application where I will attempt to reproduce the problem: 1 jsp, 1 servlet, 1 session bean, and 1 java class deployed in the war and jar. It seems that his scenario worked. I will toy around with it some more to try to recreate the problem. If this does not work I will go back to my original application and use that to recreate it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883647#3883647 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883647 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Jboss+Springframework+Hibernate
OS: WXP SP2 JBoss: 4.0.2 (with Tomcat) Springframework 1.2.1 Hibernate 3.0 JVM: Sun Jdk 1.5.0 / BEA JRockit 1.5.0_03 IDE: JBossIDE 1.5M1 Observations: When undeploying .war file (through IDE) and monitoring memory through task manager, it seems that java.exe is not releasing memory previously used by the .war. I assume that once .war files are undeployed, memory space occupied will be freed. But it seems, again that some remnants exists. Doing deploying/undeploy several times will eventually end into PermGen OutOfMemory error, and system will come to a crawl. Question: How to configure Jboss and/or the JVM for that matter to ensure that the previously occupied memory space by the .war file is freed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883646#3883646 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883646 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: JBOSS IDE tutorial
Inside your servlet code you have commented out the lookup line and replaced it with one that just looks up "ejb/Fibo" - you should change that back to lookup "java:/comp/env/ejb/Fibo". Also where you catch the exception after the lookup you are hiding the cause of the error, you should add the caught exception as a second parameter to the new exception you are throwing: - throw new ServletException("A message",e); Can you try this out. I suspect that the exception that is being hidden may be a ClassCastException. A change has been made to JBoss 4.0.2 that means you should no longer package the -client.jar file in the war as you will get ClassCastExceptions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883645#3883645 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883645 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: UDP WARN Messages
Which version of JBoss are you working with? If it is 4.0.3RC1 how did you install it? Did you use the installer or did you use a zip bundle? Also how do you start the server? Do you pass any arguments to the run script? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883644#3883644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883644 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: monitors asssistance required
sorry that should be the wrong forum. My appologies to the rest of the users. Is there any way of deleting a topic? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883639#3883639 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883639 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: monitors asssistance required
Well say that instead of being an idiot about it. I obviously added the post to the forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883638#3883638 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883638 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: monitors asssistance required
"wsweetman" wrote : darranl I fail to see how this helps my query. Could you be more specific please That was the point, this forum as absolutely nothing to do with your query. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883636#3883636 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883636 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Problems with hibernate
Strange! Everything works, if i left the sess.close(); in the doPersistence() method. Is there an explanation for this What is wrong?? Thx! Franz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883635#3883635 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883635 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: monitors asssistance required
darranl I fail to see how this helps my query. Could you be more specific please View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883633#3883633 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883633 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: monitors asssistance required
What is Javaassist? Javassist (Java programming assistant) is a load-time reflective system for Java. It is a class library for editing bytecodes in Java; it enables Java programs to define a new class at runtime and to modify a class file before the JVM loads it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883632#3883632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883632 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - monitors asssistance required
I am trying to configure/set up pesistance on various jboss and application properties (eg # of expired session, # of active session, active thread count, etc) - JBoss version 3.2.4 - OS windows 2000, NT, XP - JDK Version 1.4.2_05 >From the investigation done so far I can see that this can be accomplished by >the use of monitors/snapshots. The problem is that the documentation >surrounding these facilities is very limited. I look for answers to questions >like - Were is this information persisted? - can the format of these persisted files (if present) be modified - Is there an idea of roling files? - Is there a definitive list of properties that can be monitored (to avoid serching for them by looking at attribute via the web console) - etc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883631#3883631 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883631 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - monitors asssistance required
I am trying to configure/set up pesistance on various jboss and application properties (eg # of expired session, # of active session, active thread count, etc) - JBoss version 3.2.4 - OS windows 2000, NT, XP - JDK Version 1.4.2_05 >From the investigation done so far I can see that this can be accomplished by >the use of monitors/snapshots. The problem is that the documentation >surrounding these facilities is very limited. I look for answers to questions >like - Were is this information persisted? - can the format of these persisted files (if present) be modified - Is there an idea of roling files? - Is there a definitive list of properties that can be monitored (to avoid serching for them by looking at attribute via the web console) - etc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883630#3883630 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883630 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - monitors asssistance required
I am trying to configure/set up pesistance on various jboss and application properties (eg # of expired session, # of active session, active thread count, etc) - JBoss version 3.2.4 - OS windows 2000, NT, XP - JDK Version 1.4.2_05 >From the investigation done so far I can see that this can be accomplished by >the use of moniotors/snapshots. The problem is that the documentation >surrounding these facilities is very limeted. I look for answers to questions >like - Were is this information persisted? - can the format of these persisted files (if present) be modified - Is there an idea of roling files? - Is there a definitive list of properties that can be monitored (to avoid serching for them by looking at attribute via the web console) - etc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883629#3883629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883629 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBoss 4.0.2 and Jetty 5.1.4 problem (yes i have looked at th
Hi all, Trying to get JBoss and Jetty to play together nicely seems to be abit of a problem, reading through the other posts many people have had this trouble. My problem is that most of the replys either rubbish the person trying to use Jetty and don't offer any constructive advice or refer to changing the web.xml file in the jboss-ws4ee.war, this means nothing to me as in my installation its called jboss-ws4ee.sar and so does'nt contain the web.xml. I have gone though the hoops rebuilding my Jetty.sar to ensure that its JBoss properties are correct, but still get the same error | java.lang.ClassNotFoundException: org.jboss.webservice.server.JBossAdminServlet | Can anyone offer any advice? Please don't reply if you want a discussion on why i want to use Jetty, rest assured its out of my control anyway! Yours Hopefully Tom View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883628#3883628 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883628 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Different behaviors between windows and linux
Hi, I'm trying to deploy 2 clusters into 1 jboss instance either on windows, or on linux. Everything is working fine on windows, but on linux I get that : 11:38:10,668 WARN [org.jgroups.protocols.UDP] discarded message from different group (partition1). Sender was blanc:33432 (additional data: 19 bytes) 11:38:23,638 WARN [org.jgroups.protocols.UDP] discarded message from different group (partition2). Sender was blanc:33429 (additional data: 19 bytes) blanc is the name of the server. One is configured with that : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883627#3883627 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883627 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Problems with hibernate
Hello! I'm using JBoss 4.0.2. I want to access a hibernate persistence layer from stateless session beans. To test this i created a POJO and the configurations as described in the Application Server Guide, apart from some class names in the hibernate-service.xml. I had to rename "net.sf.hibernate" package names to "org.hibernate", otherwise i got a ClassNotFoundException. Now it runs, but data isn't stored into the database, although i'm using SessionFactory via JNDI - that means doing transactions manually i thought: Here the hibernate-service.xml | | java:/adminstorage | | org.hibernate.dialect.SAPDBDialect | | | java:/hiberfac | | | | org.hibernate.cache.HashtableCacheProvider | | | create-drop | | true | | *** | | *** | | | the stateless sessionbeans buissness method: /** | * @ejb.interface-methodview-type = "both" | * | * @throws EJBException | */ | public void doPersistence() throws EJBException, NamingException { | InitialContext ictx = new InitialContext(); | SessionFactory fac = (SessionFactory)ictx.lookup("java:/hiberfac"); | Session sess = fac.openSession(); | // Session sess = HibernateContext.getSession("java:/hiberfac"); | Transaction tx = sess.beginTransaction(); | AppUserPOJO user = new AppUserPOJO(); | | user.setLogon("***"); | user.setPassword("***"); | user.setFirstName(""); | user.setLastName("**"); | user.setPhone("***"); | user.setEmail(""); | | Long ident = (Long)sess.save(user); | System.out.println(ident); | tx.commit(); | | sess.close(); | } | and the pojo + mapping: package com.hijklm.abcdefg.morep.pojos; | | import java.io.Serializable; | | /** | * @hibernate.class table = "APPUSER" | * | * @author ** | * | */ | public class AppUserPOJO implements Serializable { | | /** | * | */ | private static final long serialVersionUID = 1L; | | private Long ident = new Long(-1); | | private String logon = ""; | | private String password = ""; | | private String firstName = ""; | | private String lastName = ""; | | private String email = ""; | | private String phone = ""; | | | /** | * @hibernate.property column = "email" | * length = "70" | * type = "string" | * | * @return | */ | public String getEmail() { | return email; | } | | public void setEmail(String email) { | this.email = email; | } | | | /** | * @hibernate.property column = "firstname" | * type = "string" | * length = "70" | * @return | */ | public String getFirstName() { | return firstName; | } | | public void setFirstName(String firstName) { | this.firstName = firstName; | } | | /** | * @hibernate.property column = "lastname" | * type = "string" | * length = "70" | * @return | */ | public String getLastName() { | return lastName; | } | | public void setLastName(String lastName) { | this.lastName = lastName; | } | | /** | * @hibernate.property column = "password" | * type = "string" | * length = "15" | * @return | */ | public String getPassword() { | return password; | } | | public void setPassword(String password) { | this.password = password; | } | | /** | * @hibernate.property column = "phone" | * type = "string" | * length = "70" | * @return | */ | public String get
[JBoss-user] [Installation & Configuration] - Re: Problem with JBoss 4.0.1sp1 und j2sdk1.4.2_04
i clear the problem. i'am on a machine with different java versions. the stop from jboss_init_suse.sh used the false version. now i put the javapth in the cmd_stop command. so the cmd_stop use the right version. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883624#3883624 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883624 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user