[JBoss-user] [Clustering/JBoss] - Re: Cluster peers not respecting LoadBalancePolicy?
To be clear, Cluster Node A and B are both JBoss App. Server instances (4.0.1sp1) which are members of the same cluster, identical configurations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896540#3896540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896540 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Cluster peers not respecting LoadBalancePolicy?
Configuration is a simple single cluster, two nodes, and SLSB. Cluster node A invokes a SLSB service which requires affinity to cluster node B (Our custom LB policy would redirect to Node B). The LoadBalancePolicy choosetarget is never invoked. The LB policy does get correctly invoked in the case where an external web tier client invokes the same SLSB service. -phil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896539#3896539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896539 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Lost in the Charset (utf-8) configuration
First thanks for your answer. But this isn't helpful for me... I already use the doc type, but it's not located in the portlet but in the layout. My layout start like this: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> | <%@ taglib uri="/WEB-INF/theme/portal-layout.tld" prefix="p" %> | http://www.w3.org/1999/xhtml"; xml:lang="en"> | | |... | I thinks my problem is comming from the java output, that is not writting in utf-8. Maybe this message can have a better place in an other JBoss forum, but I don't know witch one ?? If someone know where... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896537#3896537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896537 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Network performance question
What sort of round trip times should I expect from a simple call to a stateless echo style bean? Server | @Stateless | @Remote({Echo.class}) | public class EchoBean implements Echo, Serializable { | public String echo(String value) { | return value; | } | } | | Client jndi.properties | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=localhost:1099 | client code (in another JVM) | InitialContext ctx = new InitialContext(); | Echo e = (Echo)ctx.lookup(Echo.class.getName()); | long tx = System.currentTimeMillis(); | e.echo("hello"); | System.out.println((System.currentTimeMillis() - tx) + " ms"); | This call yields a miniumum round trip time of 125 ms!! on a local interface, mind you. I'm coming from a world of ONC-RPC, where this sort of call would take a few milliseconds, so maybe my performance expectations are a bit unrealistic. Nevetherless, 120ms+ call time to an idle server running on the same network interface, IMHO, is really, really SLOW. Are these the numbers I should be expecting, or am I doing something wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896536#3896536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896536 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JSR-181 - beehive/jbossWS on JbossAS4.0.X?
This is so far only available in jboss-head with jboss-5.0.0alpha Once jbossws-1.0 is released there will be a backport to jboss-4.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896535#3896535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896535 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Persistence with Sybase causing SQLExceptions
I found in [url=https://sourceforge.net/tracker/?func=detail&atid=381174&aid=631825&group_id=22866[/url] the following: anonymous wrote : | 2. For some reason, previous versions of JBoss mapped java.lang | .Object to a JDBC type of JAVA_OBJECT, and then proceeded to | serialize the object into a binary column. | Some JDBC drivers would accept this behaviour, but many would | not. | JAVA_OBJECT is intended to be mapped to custom types on the | database, and used in conjunction with the java.sql.SQLData/ | SQLInput/SQLOutput interfaces, which are managed by the JDBC | driver. | Therefore JAVA_OBJECT types are now passed straight through | to the JDBC driver via set/getObject. | The standard mappings for java.lang.Object that I was able to test | (as in item 1) have been changed to have a binary JDBC type to | preserve the previous behaviour. | | NOTE: Anyone who has used JAVA_OBJECT in their jbosscmp- | jdbc.xml will need to change it to VARBINARY, | LONGVARBINARY or BLOB to get the previous behaviour. | | IMPORTANT: I have only changed the standard mappings for the | db platforms that I could test. If your database is not mentioned | above I would appreciate feedback on which binary jdbc types are | appropriate. | And the tested/modified databases were: "It has been tested against Oracle 9i, Postgres 7.2 and MySQL 3.23.53, (and hsqldb of course)." Could this have some connection with the problem I'm having? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896533#3896533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896533 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Running JBoss from a CD
Hi, is there any way to run JBoss from a CD? Does anyone know a HowTo for that? Anyone tried this before? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896530#3896530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896530 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: War Classloader Issue
Have a look at the section: Why is It Different? The Concept of Classloaders at the following link: http://www.onjava.com/pub/a/onjava/2003/04/02/log4j_ejb.html?page=last&x-maxdepth=0 This might help in understanding the concept of classloader. Briefly explaining, your classes are not yet loaded by your Application Classloader, at the time when the classes are being reffered(i guess by your Listener1) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896529#3896529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896529 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Deployment order of .ear file
Sorry I haven't. I was hoping someone else would have an idea. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896528#3896528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896528 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate: 1-to-Many, help!
dave, from what i've been able to suss out is that you don't use merge, Jboss/hibernate is "supposed" to update when you leave the function. I can now add a new "relationship" but if I want to add a new "child" then it either doesn't update of if I use merge it starts to duplicate. Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896527#3896527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896527 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - HTTP error 404 customisation
I want to catch the HTTP error 404 and redirect to my own error page. Is there any configuration file for that. How can i do this error customisation? Pls help me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896526#3896526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896526 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: 2 session beans having a reference to each other can not
Hi Darranl, Please suggest if it is known problem and link to issue recorded on JIRA. Please suggest any workaround. Thanks Chetan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896524#3896524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896524 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Command Pattern with JBossCache/JGroups
You are asking for a distributed RPC. Bela and I have discussed about this before. The thing is it really does not belong to JBossCache. Rather, it deserves to be a standalone. The only requirement is it will need to share channel with JBossCache, e.g. This can be done in JGroups2.3 though. -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896523#3896523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896523 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: tutorial help
ben, what specific env info would you like to know? richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896522#3896522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896522 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Multicast not working
Maybe you need to turn off your Window firewall. Best way is use JGroups trouble shooting to determine why mcast doesn't work. -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896521#3896521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896521 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: tutorial help
hi ben, thanks for the reply. i am runnung the jboss-cache from fedora core 4 just ff the steps in this tutorial http://docs.jboss.org/jbcache/current/tutorial/html/ which testsuite is that? richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896520#3896520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896520 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: TreeCache and State Transfert status
Yes, there is setState. There is also a new partial _getState in 1.2.4beta that grab a sub-tree state. Check it out, -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896519#3896519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896519 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: tutorial help
Please describe your enviornment that you ran the tutorial. Will you be able to run the testsuite instead? -ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896518#3896518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896518 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JbossCache with Oracle 10g cluster - exception=java.lang
In 1.2.4beta, there is a class called TreeCacheMarshaller that can handle the scoped class loader for you. Idea is for user to register beforehand the application class loader as a region of (fqn, cl) pair. Then, unmarshalling will be done accordingly. -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896517#3896517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896517 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: JbossCache with Oracle 10g cluster - exception=java.lang
It works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896514#3896514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896514 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Cluster peers not respecting LoadBalancePolicy?
which is the topology of the cluster? is the session deployed in all nodes? from where you are calling it? is in of the servers or another client? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896513#3896513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896513 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: how could I integrate helloworld portlet into the defaul
Extract helloworld.war to your JBOSS_HOME/.../deploy directory and restart the portal. You will see helloworld in the Page Menu when you go to http://localhost:8080/portal. Scott Dawson Unisys View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896512#3896512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896512 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Cluster peers not respecting LoadBalancePolicy?
We seem to have a problem where our LoadBalancePolicy isn't being invoked when a cluster node invokes a session bean which has an assigned load balance policy. The cluster nodes are using HA-JNDI (locahost:1100). We have specified a custom bean-load-balance-policy class and RoundRobiin for home load balance policy. Is there some further configuration we are missing? Thanks -phil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896511#3896511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896511 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Remote connection to JMS Topic fails (yes, I've searched
try to open a telnet and check if the object that the JNDI is with sending to you has the right number. try this: telnet 172.16.96.179 1099 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896510#3896510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896510 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Failed to create configuration directory for workspace d
Hi Jacek, Strange. I have not tested on 4.0.3RC2, but will soon. Odd that it creates ${rep.home}/repository ${rep.home} but dies on ${rep.home}/workspaces Can you verify that the /workspaces does not exist alongside the other directories? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896509#3896509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896509 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: MDB's, DataSource in a cluster
Hi Tropi, I had a situation just like that, but it works fine to me. I had setup 2 architectures: - one with JMS controlled by the Master node - the JMS controlled by a special machine. each one works very fine. which errors did you got? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896508#3896508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896508 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Notification types for join cluster and leave cluster
Could you tell me more detail about implementing the callback. Where should I implement this callback? Thanks, Showlong View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896507#3896507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896507 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Alias to a remote Context creating a loop
Hi there, I had two machines running jboss 4.0.2, one is running the JMS (and other stuff) and the other one has a Message Driven Bean listening to a Queue at the first machine. The second machine was defined to not overload the first server (each message let the MDB to make a huge amount of work). The result of the work is published at another queue at the first server again. To make this distribution transparent, I had setup a alias at second server like this: | | jnp://second.server.com:1099/ConnectionFactory | ConnectionFactory | | At second server startup the alias behave very well, but when it gets under heavy load, jboss starts to log it many times: | 2005-09-22 13:36:03,607 ERROR [org.jboss.ejb.plugins.jms.DLQHandler - JMSContainerInvoker(RecordAcquirer) Reconnect] Initialization failed DLQHandler | javax.naming.NamingException: Could not dereference object. Root exception is | javax.naming.NamingException: Could not dereference object. Root exception is | javax.naming.NamingException: Could not dereference object. Root exception is | javax.naming.NamingException: Could not dereference object. Root exception is | javax.naming.NamingException: Could not dereference object. Root exception is | javax.naming.NamingException: Could not dereference object. Root exception is | javax.naming.NamingException: Could not dereference object. Root exception is | javax.naming.NamingException: Could not dereference object. Root exception is | javax.naming.NamingException: Could not dereference object. Root exception is | javax.naming.NameNotFoundException: XAConnectionFactory not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:491) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:499) | at org.jnp.server.NamingServer.getObject(NamingServer.java:505) | at org.jnp.server.NamingServer.lookup(NamingServer.java:278) | at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41) | at java.lang.reflect.Method.invoke(Method.java:371) | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:278) | at sun.rmi.transport.Transport$1.run(Transport.java:163) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Transport.java:159) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:477) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:718) | at java.lang.Thread.run(Thread.java:568) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:264) | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java(Compiled Code)) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java(Compiled Code)) | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at javax.naming.InitialContext.lookup(InitialContext.java(Inlined Compiled Code)) | at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at javax.naming.InitialContext.lookup(InitialContext.java(Inlined Compiled Code)) | at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at javax.naming.InitialContext.lookup(InitialContext.java(Inlined Compiled Code)) | at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at javax.naming.InitialContext.lookup(InitialContext.java(Inlined Compiled Code)) | at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at javax.naming.InitialContext.lookup(InitialContext.java(Inlined Compiled Code)) | at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code)) | at org.jnp.interfaces.NamingContext.
[JBoss-user] [Advanced Documentation] - Jboss + Hibernate
Hi, We are developping a system using Jboss 4.0.2 and hibernate 3.0.5. And I found that the documentation from JBoss was quit limiting on how to use and configure Hibernate properly. To use Hibernate as an MBean I found 2 options. You either deploy the mapping files with a jboss-service.xml in a SAR or you the mapping files with hibernate-service.xml in a HAR. Of you use the HAR option the configuration you can use for hibernate is quit limated for example I could not find a way to configure the TransactionStrategy in the Jboss cosole I saw that with the HAR it seems to use JTA, I found in the documentation that using tha HAR option with hibernate-service.xml is basicaly the same as tha SAR with jboss-service.xml. When using the SAR option with jboss-service.xml the configuration of the TransactionStrategy is no problem. Any way in both cases using JTA and begining and ending the transactions programmaticly it seems as if there is only one transaction wich is commited when the EJB (session bean) is "stops". My question is is there any way using Session Beans to really programmaticly and a transaction? And is there anymore documentation on this? Ernst View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896505#3896505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896505 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Web Services Beginner
How about the Step by Step tutorials on the wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWS A good book on WS4EE is J2EE Web Services by Richard Monson-Haefel http://www.amazon.com/exec/obidos/ASIN/0321146182 good luck View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896503#3896503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896503 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Working from WSDL
wscompile does not generate a SLSB. It generates * service endpoint interface (SEI) * associated complex types and exceptions * jaxrpc-mapping.xml You don't need any of the Sun specific artifacts (that have sun imports) The webservices.xml and the implementation of the SEI you have to code yourself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896502#3896502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896502 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: jbossws-samples-4.0.3.zip
Why, does jbossws-samples-4.0.2.zip not run on the latest jboss-4.0.3RC Currently jboss-4.0.3 is not yet released. The file you are asking for will be available from the wiki once jboss-4.0.3 is final. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896500#3896500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896500 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBossWS doesn't seem to pick up my webservice
I think this is the cause | Caused by: java.lang.IllegalArgumentException: URL cannot be null | at org.jboss.webservice.mycompany.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMapping | Factory.java:55) | Can you point me to the section in the spec where it says that jaxrpc-mapping.xml is optional? The schema for webservices.xml suggests that it is required | | | | | The jaxrpc-mapping-file element contains the name of a file that | describes the JAX-RPC mapping between the Java interaces used by | the application and the WSDL description in the wsdl-file. The | file name is a relative path within the module. | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896499#3896499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896499 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: HTTP TLS/SSL
you can also trigger renegotiation of client ssl on the same server ssl port (in tomcat) by accessing the attribute org.apache.coyote.request.X509Certificate from the request. The servlet attr javax.servlet.request.X509Certificate should work as well but doesn't seem to in tomcat 5.0.x Also, with IE 6 I get the a Warning message with stack trace Sep 22, 2005 5:16:47 PM org.apache.coyote.http11.Http11Processor action WARNING: Exception getting SSL Cert java.net.SocketException: Socket Closed at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:177) at java.net.Socket.setSoTimeout(Socket.java:924) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.setSoTimeout(DashoA12275) at org.apache.tomcat.util.net.jsse.JSSE14Support.synchronousHandshake(JSSE14Support.java) Has anyone encountered this ? btw, I am on jdk 1.4.2 -Atul. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896498#3896498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896498 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ws4ee-client not bound
The webservice testsuite also uses tons of application clients. Lets preach this again: Your fat clients or non trivial cmd line apps should run on JBoss. At its bare minimum this buys you nameing/lookup (JNDI) and managment (JMX). These two every non trivial app would need anyway. On top of that you can deploy preconfigured WS4EE clients and don't have to use ugly DII. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896497#3896497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896497 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Minimal ws4ee deployment
jboss-ws4ee.sar has a dependency on the EJBDeployer service defined in ejb-deployer.xml In case you don't use EJB endpoints, you can just comment or remove the ServiceDeployerEJB | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896496#3896496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896496 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JAXP 1.3 in JBoss 4.02 ?
What happens when you remove | -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" \ | from run.sh, so the jdk1.5 XML parser is used instead the one we endorse View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896493#3896493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896493 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Bug in ServiceDeployerEjb's portURI
Good post, thanks for that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896491#3896491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896491 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: 4.0.2 attachment problem?
Have you looked at the attachment tests in the testsuite? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896490#3896490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896490 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Getting the HttpSession of a SOAP service?
Hi Thomas, Thanks for the input. I finally got it hammered through my head how simple it is to implement ServiceLifecycle. I couldn't figure out where exactly the ServletEndpointContext came from until a few moments ago. I'll look into maintaining an SFSB over HttpSession. It makes no material difference to me. The only real difference is client-side, between storing the session ID natively, or passing back a Handle to the SFSB as part of my login() method, and then requiring that Handle to be passed back as the first parameter in all my service's operations. Thanks! --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896489#3896489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896489 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Changing the default 60 second socket read timeout in jb
When you use a DII | Call.setTimeout() | For dynamic proxies | Stub.setTimeout() | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896487#3896487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896487 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Deployng WS without restarting application
Your application can generate valid WS4EE deployments that then can be deployed via JMX using the MainDeployer.deploy(...) operation. In case you want to redeploy and endpoint you need to touch the deployment specific descriptor i.e ejb-jar.xml or web.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896486#3896486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896486 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: org.xml.sax.SAXException: Invalid element
You can turn on debug level logging on the categories org.jboss.axis org.jboss.webservice then you see the incomming and outgoing SOAP messages. Do they conform to the abstract contract defined in wsdl + schema? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896485#3896485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896485 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Class Cast Exception using Oracle CLOB
That didn't work either. I did get it working, but I had to use a java.sql.Clob instead of a Oracle CLOB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896483#3896483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896483 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Server did not recognize the value of HTTP Header SOAPAc
This has been assigned to http://jira.jboss.org/jira/browse/JBWS-425 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896484#3896484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896484 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: ignoring invalid namespace mapping?
You need to show us the stacktrace and (if applicable) the abstract contract (wsdl + schema) and the soap message. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896482#3896482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896482 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: SOAPConnection Problem
Jonny, you could create a JIRA issue and attach your sample application to it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896480#3896480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896480 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Notification types for join cluster and leave cluster
Doesn't exist yet, planned for 1.3: http://jira.jboss.com/jira/browse/JGRP-134. However, you could easily implement this yourself by implementing the callback (viewAccepted()). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896479#3896479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896479 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Getting the HttpSession of a SOAP service?
You are not forced to use SLSB. If you cllient maintains the session you can get it from the ServletEndpointContext Generally you want to look into the advantages of maintaining client state in SFSB over HttpSession. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896478#3896478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896478 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Treecache Lock Error
Hi, We are using Hibernate 3.0.3 with Synchronous replication cache (TreeCache) | REPL_SYNC | we have 2 Servers, in each server, I have a lot of message similar at | 12:03:28,788 ERROR [IdentityLock] write lock for //com/cubika/app/domain/operators/Operator | ee/31 could not be acquired after 15000 ms. Locks: Read lock owners: [] | Write lock owner: :48 | (caller=:47, lock info: write owner=:48 (activeReaders=0, activeWri | ter=Thread[http-0.0.0.0-8080-3,5,jboss], waitingReaders=0, waitingWriters=0, wai | tingUpgrader=0)) | 12:03:28,788 ERROR [BookingDAO] org.jboss.cache.lock.TimeoutException: write loc | k for ///com/cubika/app/domain/operators/Adherent/5 could not be acquired after 15000 ms. | Locks: Read lock owners: [] | Write lock owner: :48 | (caller=:47, lock info: write owner=:48 (activeReaders=0, activeWri | ter=Thread[http-0.0.0.0-8080-3,5,jboss], waitingReaders=0, waitingWriters=0, wai | tingUpgrader=0)) | 12:03:44,913 ERROR [IdentityLock] write lock for com/cubika/app/domain/bank/Bank | ies/71 could not be acquired after 15000 ms. Locks: Read lock owners: [:49 | ] | Write lock owner: null | (caller=:50, lock info: read owners=[:49] (activeReaders=1, activeW | riter=null, waitingReaders=0, waitingWriters=0, waitingUpgrader=0) | When the servers are started the application is fast, after 2 hours the appliacion begin to become so slowly. Realy I don'd why happed that. Somebody can say something to me on those errors? Alexis E. Quirós Buenos Aires - Argentina [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896475#3896475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896475 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Notification types for join cluster and leave cluster
Hi, I need to setup SNMP agent to file join cluster and leave cluster traps. What's their JMX notification types? How do I find other JMX notification types for existed mBeans in JBoss. Thanks, Showlong View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896474#3896474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896474 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - War Classloader Issue
I have been around the block about ten thousand times, and my classloader issues just won't go away. (JBoss 4.0.2) I have some common classes that I use, so I put myCommon.jar inside server/lib. I put my webapp classes in webapp/WEB-INF/lib/myApp.jar The classes from my webapp access those common classes. I have tried to turn on ClassLoaderIsolation, (using the instructions on the Wiki) so I can get log4j to work correctly. Now when I try to start my app, my webapp says that it can't find the classes that are in myApp.jar >From what I can tell, I have a Listener defined in my web.xml, say Listener1. >The Listener1 file is located in myCommon.jar file. When started, Listener1 >will call classes in myApp.jar. Is this causing the problem of the Class not >found? Since one file is located on the server level and another at the webapp >level, do they have different classloaders? Is there a way around this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896465#3896465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896465 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - 3.2.7 Touching sar produces not found in the NonSerializable
If I simply touch a deployed sar, I receive an exception like the following: 2005-09-22 20:40:54,218 ERROR [ActivationServer] javax.naming.NameNotFoundException: com/masergy/nems/activation/ActivationServer was not found in the NonSerializableFactory map I've tried this on muliple platforms, always get the same result. JDK is 1.5.0_04. This seems to only happen with sars, not with jars. I searched before posting and found this issue reported back in 2002. The sar is subsequently deployed successfully, so this appears to be a non-fatal error. Should I report as a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896464#3896464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896464 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: oracle with different useres
You can put all your datasources into one oracle-ds.xml. The root tag datasources can have an unlimited number of local-tx-datasource children. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896462#3896462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896462 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - cant connect to mysql
Hi all one of our java beans connects to a mysql db. I can connect with the user from commandline mysql, and can verify the permissions in tne mysql.user table. I get this excetpion when our mdb tries to connect: | 08:23:13,622 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)) | Ive checked the jboss config files and user/password/port are all correct. from my mysql | mysql> select host, user from user where user='hashuser'; | +---+--+ | | host | user | | +---+--+ | | | hashuser | | | localhost.localdomain | hashuser | | +---+--+ | 2 rows in set (0.01 sec) | any idea why jboss cannot connect? Thanx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896460#3896460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896460 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Hypersonic localDB.data file size limit
Thanks for the detailed and meaningful answer. Yaron G. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896455#3896455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896455 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: No support for @ejb.pk XDoclet Tag??
Thanks for straightening me out on that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896454#3896454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896454 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - EJB's looking at hypersonic database instead of mysql
This is a very strange problem...I have worked with JBOSS and Oracle many times without problem. However, now I am trying my hand at JBOSS and mySQL with some puzzling results. I have successfully created a Datasource that connects to mySQL and I have a class that performs JDBC queries (this class connects to this mySQL datasource -- see code below). | System.out.println("Loading underlying JDBC driver."); | try { |Class.forName("com.mysql.jdbc.Driver"); | } catch (ClassNotFoundException e) { |e.printStackTrace(); | } | System.out.println("Done."); | final InitialContext context = new InitialContext(); | dataSource = (DataSource)context.lookup ("java:/BBIMDB") However the EJB's seem to be pointing at a different database (I guess hypersonic) because when I call a findByPrimaryKey() method on a bean with a row I know exists, it can't find it (NotFoundException). And when I create an entity bean - it works without error, however it is nowhere to be seen in the mySQL database! I have created a mySQL datasource (mysql-ds.xml) as follows: | | | BBIMDB | jdbc:mysql://localhost:3306/bbimdb | com.mysql.jdbc.Driver | bbimdb | password | | mySQL | | | With my EJB's, I deploy the following jbosscmp-jdbc.xml file: | | | java:/BBIMDB | mySQL | false | false | | | ... and the following jboss.xml file | http://www.jboss.org/j2ee/dtd/jboss_3_0.dtd";> | | | jdbc/BBIMDB | BBIMDB | | ... | Please can somebody help? I am at a loss :( I am using jboss-4.0.1sp1 on winXP with mySQL 4.1 and connectorj 3.1.10 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896451#3896451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896451 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: Force war deployment to specific tmp folder
I think I found it: http://www.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment Is this it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896450#3896450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896450 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Force war deployment to specific tmp folder
Hello, I was wondering if there is a way to get JBoss to unpack a WAR application in the same tmp folder. The default behavior is to auto-create a tmp folder under the tmp directory with the naming convention "tmp-exp.war". This is fine, but a bit difficult for debugging in a development environment. Sometimes, it makes sense to make some changes directly into the exploded war directory for quick testing without needed to re-deploy the app. Knowing where the app will be deployed beforehand can ease this process. The exploded war directory can be bookmarked and easily found. If this is not feasible, please let me know. Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896448#3896448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896448 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: tutorial help
I am seeing the same problem. I run the plain.bsh script and nothing happens in the gui view. Thanks! Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896439#3896439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896439 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - page to go after login?
The current form based login model is to access a protected page, then a login form cut in to authenticate user, and then redirect to that page. I found this is not flexible enough. There is anyway to instruct Security model which page to go after login in. What does it takes to implement Servlet security model like this? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896435#3896435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896435 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Failed to create configuration directory for workspace defau
Hi, What's that? It happens with the latest JBoss Portal 2.2.0-ALPHA build from the sources and deployed onto JBoss AS 4.0.3RC2. 20:26:04,481 INFO [JCRCMS] Starting JCR CMS. 20:26:04,531 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\repository 20:26:04,531 INFO [LocalFileSystem] LocalFileSystem initialized at path C:\apps\jboss\server\portal\data\portal\jcr\versions 20:26:04,541 WARN [ServiceController] Problem starting service portal:service=CMS org.apache.jackrabbit.core.config.ConfigurationException: Failed to create configuration directory for workspace default. at org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:299) at org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:218) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:97) at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:71) at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:114) at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104) at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57) at org.jboss.portal.cms.util.RepositoryUtil.registerRepository(RepositoryUtil.java:58) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:172) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:187) ... Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896434#3896434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896434 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Portal deployment alternatives
Hi, I can't figure out what deployment options are available in JBoss Portal. I work with the sources, so its version is JBoss Portal 2.2.0-ALPHA and JBoss AS is 4.0.3RC2. According to the chapter 2 of JBoss Portal reference guide - http://docs.jboss.com/jbportal/v2.0Final/reference-guide/en/html/xmldescriptors.html#d0e557 it should be possible to deploy *-portal.xml files without having them to be bundled in a war. I can't get this to work, thought - /portal/myportal keeps showing me the default portal. Am I missing something? Is there a way to list all of the deployed portals? BTW: I have really been amazed by the new layout scheme - phalanx. It's a nice-looking layout. Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896433#3896433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896433 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Reading image outside webapp contextpath??
Try the following link, it helped me with a similar problem: http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896432#3896432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896432 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: how could I integrate helloworld portlet into the defaul
Have a look at http://www.jboss.com/products/jbossportal/docs where you can find all the answers. Jacek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896428#3896428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896428 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - EAR DEPLOY
Hi! I have deployed and ear application by putting my ear file in the eg.: jboss/server/default/deploy, the deploy was a sucess. But every time I restarted the server, JBoss (4.02) re-deploy the application in a diferent folder. I would like to know how can I do to that every time JBoss re-deploy my ear application it does in the same folder. I hope I made myself clear. Any tips are welcome :-) Best regards, André. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896427#3896427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896427 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - ADD: two portles using myfaces and navigation
Sorry I forgot to mention: I tried it on the jboss-Portal-4.0.2 and jboss-portal-2.0.1RC1-jboss-4.0.2. Also I downloaded the new myfaces-1.1. In each combination the commandlink of the second portlet does not work. The MyFacesGenericPorlet.VIEW_ID in the url always shows the ID of the first portlet. Could you please help? Thanks Stefan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896422#3896422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896422 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Multithreading using MDB
If it's a matter of sending a signal to terminate the MDB - why not get each single-threaded MDB to check periodically another app-wide queue filtered against a pre--agreed ID sent from the original client (normal JMS consumption as opposed to through the OnMessage() interface) to see if it should terminate early ? That way your clients can simply send termination signals to one queue for a specific consumer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896421#3896421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896421 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Creating a WS with Eclipse - JBossIDE in J2EE
First of all, my JBoss installation works great, and my default Tomcat installation works as well, since I have no problems runnings servlets and JSPs in a J2EE deployment. So, I would like to create a web service in J2EE using my JBoss IDE. I would like to use the default Tomcat server as the container for my web service. So this is what I did: Create a new J2EE project. Create a java class with functionality for the web service. (Controller.java) Create a new web service. (New->Other->Web Services->Web Service) Then I create a bottom-up ws with proxy and click Next. Then I select the java class implementing the web service.(Controller.java) Then I get an error message that says: "No suitable server can be found for the Apache Axis Web service runtime. Go to Window > Preferences. Select Server > Installed Runtimes and configure one of the following: Tomcat v4.0 Server, Tomcat v4.1 Server, Tomcat v5.0 Server, Tomcat v5.5 Server, Geronimo v1.0 Server" So then I try to configure the default Tomcat 5.5 which comes standard with my JBoss 4.0.2. (Windows->Preferences->Server->Installed Runtimes->Add->Apache->Tomcat 5.5->Next) Now I run into more trouble. Because my Tomcat server is deployed and not installed, I can't direct JBoss to the installation directory. I've tried just about every directory that I can think of, but no luck. What should I do next? Thanks so much for any and all help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896417#3896417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896417 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - two portles using myfaces and navigation
Hello, I enhanced the cardemo portlet using myfaces and added two porlets on the left side. In this additional portles I use the jsf navigation with commandLink and commandButton. Using the commandLink only the first portlet follows the link. The second does not work. Using the the commandButton navigation works fine. here the sample code for the first portlet: userHome.jsp: | | | | | | | | | navigates to userForward.jsp: | | | | | | | | | | faces-config.xml: | | /userHome.jsp | | Go Forward | goForward | /userForward.jsp | | | | /userForward.jsp | | go Back | goBack | /userHome.jsp | | | The second portlet looks the same except the naming and ids differ. additionally the window is confiured like this: | | CarDemoWindow | cardemo.CarDemoPortlet.CarDemoPortletInstance | true | center | 0 | | | CarDemoWindow3 | cardemo.CarDemoPortlet3.CarDemoPortletInstance3 | true | left | 0 | | | CarDemoWindow2 | cardemo.CarDemoPortlet2.CarDemoPortletInstance2 | true | left | 0 | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896413#3896413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896413 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Send mails from MBean
Hi All, Can someone post a sample as to how to call/send mail from am MBean. I know how to write an MBean. Bascially I struggling with the Mail lookup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896412#3896412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896412 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: MBeans, proper use case?
Both are possible, although I think more common is the case of the mbean acting as a wrapper over the real resource (i.e. the resource doesn't know about mbeans). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896409#3896409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896409 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Developing Web services Using jboss-eclipse ide 3.0 and
Why can't I bump posts? I wanted to know more about an answer to this guy's question. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896407#3896407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896407 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - how could I integrate helloworld portlet into the default po
I'm sorry I'm a newbie with jboss portal, I still don't know how to integrate helloworld portlet into the default portal.. Could somebody help me please?? I have helloworld.war, but I don't know in which path I have to save it, and which .xml files I have to modify in the portal core Do I have to modify some .xml files in \jboss-portal-2.0-jboss-4.0.2\server\default\deploy\jboss-portal.sar\portal-core.war\?? Which ones?? How could I see the helloworld portlet when I access to http://localhost:8080/portal?? I know It's a stupid question but please I need your help guys is so important.. Regards... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896406#3896406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896406 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Fail-over when loosing TCP/IP connection.
Thanks a lot for your prompt answer ! I guess we will handle this case at the application level then :) Thanks, Pierre PS: TreeCache and jgroups are really great products ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896399#3896399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896399 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Increasing EJB pool (newbie)
Hi, i'm using httperf to test a site of e-commerce on Jboss/Tomcat 4.0.2. The problem is that i tried to increase the maxThread in server.xml, $JAVA_OPT to 512M and the result is the same. The server can't serve more than 10 req/sec Which is the problem??? I hope i've been clear with my problem. Thank's all!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896385#3896385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896385 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - MBeans, proper use case?
I'm trying to insturment a web service using a request handler and an MBean. Currently, I create and register, upon initialization of the handler a custom MBean. Is it more correct to have the MBean contain a reference to my handler to pull the statistics it needs or to have the handler update the MBEan with statistics when it determines it is necessary? More importantly, is it proper form to have the MBean created and registered by the object it is managing? Most of the examples show independent services deployed with dependcies on the services they monitor..I don't think that works in this case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896384#3896384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896384 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Developing Web services Using jboss-eclipse ide 3.0 and
DO NOT BUMP POSTS Also upgrade your version of JBoss, you will get little to no help using such an old release candidate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896382#3896382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896382 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: No support for @ejb.pk XDoclet Tag??
The is specified in the ejb-jar.xml in the definition of the entity. ELEMENT entity (description?, display-name?, small-icon?, | large-icon?, ejb-name, home?, remote?, local-home?, | local?, ejb-class, persistence-type, prim-key-class, | reentrant, cmp-version?, abstract-schema-name?, | cmp-field*, primkey-field?, env-entry*, ejb-ref*, | ejb-local-ref*, security-role-ref*, security-identity?, | resource-ref*, resource-env-ref*, query*) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896380#3896380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896380 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Developing Web services Using jboss-eclipse ide 3.0 and
bump View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896379#3896379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896379 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: hibernate 2.1.8 and CacheProvider
Hello, I have the same problem. Do you fin the solution to install hibernate 2.1.8 whith jboss (my version is 3.2.6) Thks for your help Franck View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896377#3896377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896377 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - No support for @ejb.pk XDoclet Tag??
It appears that the DTD for the jbosscmp-jdbc.xml document does not support the use of the @ejb.pk XDoclet tag. Specifically, I cannot get the element to appear in the document because the DTD doesn't mention it. Please correct me if I am wrong. If I'm right, I'd like to know why is not supported. In my case, use of an unknown primary key is pretty heavy handed when all I want to do is assure type safety by using a primary key class. If using an unknown primary key is my only option, I would very much appreciate finding out how I am supposed to write my XDoclet finder methods and how I'm supposed to handle finding an entity bean by its primary key when using an unknown primary key. I've tried finding some resource that gives me code examples but I've failed to find any. What I do find is lots of xml examples. Thanks. Environment: Windows XP Professional, JBoss 4.0.2, Hypersonic DB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896368#3896368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896368 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Does log4j QuietMode need to be false?
The Log4jService (mbean org.jboss.logging.Log4jService in conf/jboss-service.xml) has an attribute named Log4jQuietMode set to true. The comment indicates 'this needs to be set to avoid a possible deadlock on exception', and references bug#696819. Please help me find further information about this. I wasn't able to find the specified bug on either the log4j or jboss trackers, and searching those trackers and their respective forums haven't unearthed anything. We've had some errors with the smtp appender and would like to log any errors encountered within the appender. Turning the QuietMode to true would achieve this, but the purported 'deadlock' sounds ominous. Any help or alternatives would be appreciated. Thanks, lasitha ranatunga. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896364#3896364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896364 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Installing OCI for JBoss 4.0.2 in RH AS 3.1
Hi all! I'm trying to install the OCI drivers from oracle, because the thin ones doesn't support fail-over or load-balancing. The platform is a Jboss 4.0.2 as MQ server, running on RedHat AS 3.1 (64-bit). I've installed the oci drivers (*so) in /lib64/oci, added this path to ld.so.conf and ran ldconfig. Defining some environement variables like LD_LIBRARY_PATH, SQLPATH, and TNS_ADMIN, I've got a succesful conection to a RAC using sqlplus with a tnsnames.ora file. So I think that the oci drivers are correctly installed in the RedHat OS, but when trying to use this OCI connection with Jboss on a datasource, I get: -- Error handling message : Unexpected throwable while trying to create a connection: null; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); -- It seems that JBoss doesn't find the *so files, but when I call the JVM (1.5.0_04 from sun) with this parameters: -Djava.library.path=/lib64/oci/: and all the other default paths Someone knows how oci drivers need to be installed to work with jboss ? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896362#3896362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896362 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JSR-181 - beehive/jbossWS on JbossAS4.0.X?
Does anyone have any good information/tutorial/example on enabling webservice annotation support with Jboss AS 4.0.X? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896361#3896361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896361 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Duke bank on Jboss-4.0.2
I recall seeing a post yesterday that a fix was forthcoming for 4.0.2 and that many changes have taken place since 4.0.1. From limited experience with 4.0.1, I can see that the java source file names have apparently changed. e.g. - in the src directory, my com\sun\ebank\ejb\tx directory has file "TxBean" which resulted in files generated in the build: LocalTx.java, LocalTxHome.java, TxBean.java,. As you can see, none of these names correspond exactly to what your error messages are reporting. I would look at your own src directory to see if the files were created correctly. If the files named in your error message actually do exist, then the "package" target failed in some way, which has the deploy 'not ready'. You have a couple options: wait for the fix, redownload and start from scratch. Download 4.0.1 and (still) start from scratch. You could try to fix the build and/or classnames manually, but this is no guarantee that problems won't bite you downstream. I can attest that 4.0.1 works, but I skipped the section of 'getting started guide' pertaining to encryption/security. This duke's bank is an example app and I'll worry about security when I deploy the real thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896360#3896360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896360 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: dukebank with HSQL
Part of the example app tutorial is how to set up encryption in the security API. If you have properly configured the encryption, then you MUST also have updated the db to reflect the encrypted password. On the flip side, you can skip the configuration of encryption(or undo it), and leave the DB table alone. Do a select on the user table and if the password reads j2ee, you know the security must NOT be using encryption. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896352#3896352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896352 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Remote call performance - EJB vs. RMI
My application uses a remoting proxy for remoting all server-side business objects. Thus, it is very easy for us to swap out which remoting technology we use. In the past we have been EJB-based (all remote invocations were done via a Stateless Session EJB), but have recently switched to RMI for performance reasons. The difference in performance between RMI and EJB invocations is astounding, and I feel sure that there is something we could have done to make the EJB calls more performant. I have been using a profiler to run numerous tests and observe how long remote invocations take. On a particular remote method call: RMI Using RMI, each remote method call took roughly 1.5-2ms. If I invoked the method 200 times, it would take roughly 300-350ms. EJB Our framework cached the EJB Home interface, but for each method invocation, it 1) invoked create on the EJB Home interface 2) invoked the method on the EJB object 3) called remove on the EJB. Is this correct or should we also cache the EJB object? If we cache the EJB object, is there any effect on instance pooling, clustering, etc? (we are not currently using clustering, but may in the future) Calling the above 3 methods looks like it results in 3 separate remote calls to the application server. Obviously if we cached the EJB object, it would improve performance tremendously. For the three remote invocations: create() - The create method took an average of 10 ms per invocation (6ms with PooledInvoker). The majority of this time was consistently spent in ClientContainer.readExternal (An average of about 6ms per create was spent in readExternal) Why is this? method invocation - The method invocation itself took an average of 4 ms (3ms with PooledInvoker). This is still almost 3 times the amount of time a plain RMI call took, but may be normal considering the added complexity of an EJB invocation. remove() - The remove method took an average of around 3 ms per call (1.5ms with PooledInvoker). This is still double what the entire invocation took using RMI. Summary Since we primarily only used EJB as a remoting infrastructure, we have now switched to plain RMI. However, I would like to understand if we were doing anything wrong with EJBs or if there is additional tuning we could have done to improve EJB performance. Summary of my questions: * Should we call create and remove on each invocation, or should we cache the stateless session EJB object in our remoting infrastructure? What effect does this have on server-side instance pooling, clustering, etc.? | * Why does the create() method take so long? Is it normal for readExternal() to take up so much time? | * Is there additional tuning we can do to speed up EJB performance? | * Another problem we saw was that every now and then a create() call would take 2+ seconds. From the profiler, it appeared that this was caused by the MarshalledInputStream.resolveProxyClass() method called when the MarshalledObject.get() method is called by the ClientContainer.readExternal() method. Has anyone seen this problem or does anyone have any ideas why this could happen? | Environment JBoss 4.0.2 JDK 1.5.0_04 JProfiler 4 All testing was done on a local LAN - obviously the performance would be different over a slower network. JRMPInvoker was used, except where it was noted that PooledInvoker. Thanks! Jeremy Haile View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896351#3896351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896351 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Web Service with VB6
I also posted this on gotdot.net, where the utility (below) can be downloaded. I am up and running with JBoss 4.0.1 and have the example apps working thru the browser and also the (Ant target) run-ws client interface is operable. I need to know what type of request would be built by VB to invoke this WS. So I started with a free utility WS Studio, and giving it an endpoint, it retrieves the WS details including the methods available from the service. All is well, except I do not see the methods, and therefore, cannot invoke. WS Studio gets me "almost there" and I should be able to see the entire request/response generated by this client. Has anyone else attempted this with WS Studio? http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c Also, if anyone has info on a how-to regarding VB and WebServices, that would also be greatly helpful and appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896350#3896350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896350 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - call to JSP allways returns an html page with empty body
Hi, I have a web application which I have deployed to jboss as a packaged war. The webapplications contains several JSPs. If I try to request the JSP with a browser (e.g.: http://localhost:8080/MQWFClient35T/Logon.jsp), JBoss allways returns this HTML with an empty body: | | | If I try to access an URL which does not exist (e.g.: http://localhost:8080/MQWFClient35T/LogonNotExist.jsp) I get an HTTP Status 404 - /LogonNotExist.jsp. This is the right behaviour. But why does JBoss deliver the same empty HTML page all times I try to access one of my jsps without writing an error to the logs? Any help would be greatly appreciated! Regards, Jochen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896348#3896348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896348 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: java.io.StreamCorruptedException under clustering - not
If you google for this string (in double quotes), the first hit is a page to the FAQ: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClusteringFAQ It is at the bottom of the page View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896340#3896340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896340 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: java.io.StreamCorruptedException under clustering - not
Found the problem. I was using jboss-client.jar on the client's classpath. On replacing this with jbossall-client.jar, the problem disappears. This needs to go into JBoss Wiki! Regards, Nitesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896339#3896339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896339 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Fail-over when loosing TCP/IP connection.
This is not as simple as suggested, state merging is largely an application responsibility. I have a JIRA issue (http://jira.jboss.com/jira/browse/JBCACHE-8) which tackles this, but it will come down to policy-based state merging. So we call the application, which then needs to handle the state merge. JGroups merges the partitioned subgroups back into a single group, but state merging cannot be done by JGroups because we don't know your state. What you suggested will probably *one* merge policy that JBossCache ships with, but there will be are others, and application programmers concerned about partitions/merging will be able to provide their own policies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896337#3896337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896337 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: java.io.StreamCorruptedException under clustering
The properties that I use to set up the InitialContext are: 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, "nvarma-lap:1100"); | Another curious thing that I have noticed is that the exception stack references port 1200 whereas I specify port 1100 in the PROVIDER_URL. javax.naming.CommunicationException: Failed to retrieve stub from server 10.180.0.34:1200 [Root exception is java.io.StreamCorruptedException: unexpected block data] I haven't been able to overcome this problem. Any help will be much appreciated. Regards, Nitesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896336#3896336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896336 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - jboss+lomboz
I downlaoded build 3.1 RC2 OF lomboz that includes lomboz+eclipse.Now i created a project and tried to delete file from it But it is taking more than half an hour.the message comes like this the user operation is waiting for background work to complete building workspace performing tasks j2ee a.html-ObjectWeb Lomboz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896335#3896335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896335 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Authentication
Hi I have following contents in my login-config.xml. Can anyone tell me when these quesries actulally run ? http://www.jboss.org/j2ee/dtd/security_config.dtd";> java:/R911DB SELECT R911User.Password, R911User.userId 'PrincipalID' FROM R911User WHERE UserName=? SELECT UserGroup.UserGroupName, 'Roles' FROM R911User LEFT JOIN UserMapping ON R911User.UserId = UserMapping.UserId LEFT JOIN UserGroup ON UserMapping.UserGroupId = UserGroup.UserGroupId WHERE R911User.Username =? Thanks Imad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896331#3896331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896331 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - CommunicationException when stopping jboss
I am receiving the following error when trying to stop the jboss server. I am running Fedora 4 with jboss 4.0.2 and using the default, very basic init.d script found at this link http://wiki.jboss.org/wiki/Wiki.jsp...OnBootWithLinux /etc/init.d/jboss stop Stopping jboss... Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.SocketException: Invalid argument or cannot assign requested address]]] at org.jnp.interfaces.NamingContext.checkRef(NamingCo ntext.java:1385) at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:579) at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:572) at javax.naming.InitialContext.lookup(InitialContext. java:347) at org.jboss.Shutdown.main(Shutdown.java:202) Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.SocketException: Invalid argument or cannot assign requested address]] at org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:254) at org.jnp.interfaces.NamingContext.checkRef(NamingCo ntext.java:1370) ... 4 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.SocketException: Invalid argument or cannot assign requested address] at org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:228) ... 5 more Caused by: java.net.SocketException: Invalid argument or cannot assign requested address at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.(Socket.java:309) at java.net.Socket.(Socket.java:211) at org.jnp.interfaces.TimedSocketFactory.createSocket (TimedSocketFactory.java:69) at org.jnp.interfaces.TimedSocketFactory.createSocket (TimedSocketFactory.java:62) at org.jnp.interfaces.NamingContext.getServer(NamingC ontext.java:224) ... 5 more It appears that the JNDI server is up and running/listing on port 1099. netstat -an |grep 1099 tcp 0 0 :::1099 :::* LISTEN Does anyone have any idea what I am doing wrong? Could it be something with my Fedora hostname setup? I have to kill the processes each time I want to shutdown/restart which isn't optimal. Not being able to fix the problem is bugging me probably more than the inconvenience... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896332#3896332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896332 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: Lost in the Charset (utf-8) configuration
Your web pages need a good doc type: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> and a good encoding in the Head: IE is not going to understand entities the way you hope unless your are using standards - otherwise it's all hit and miss. Here is an enourmously useful presentation on the whole topic: http://www.w3.org/International/tutorials/tutorial-char-enc/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896330#3896330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896330 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Fail-over when loosing TCP/IP connection.
Hi All, We're running jboss tree cache 1.2.3 in a 2 computers cluster environment. We configured jgroups in order to have a TCP/IP link between the two machines, Group management behing handelg by TCPPING. When the TCP/IP connection is stoped (for example by a firewall timeout), two subgroups are created and then merged later thanks to MERGE2. Everything is fine here (at least since 2.2.8). My concerned is that when the two subgroups are merged, their cache is not synchronized (as it would if one computer crashed and restarted). Could Tree Cache listen to the groups modification and synchronize the cache of all node joining the group? I don't really know what criteria could be used to choose the cache reference that would overide others caches, but I would say (without thinking too much): - If groups have the same node numbers => random - If group A node number > group B node number => B get cache state form A. Thanks, Pierre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896329#3896329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896329 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user